For each 3XA data source participating in a transaction, the xa_end( ) function 3is called before a direct rollback or before the prepare stage for 3a commit operation.
3The syntax for the function is: 3
3mint xa_end (XID *xid, /* IN */ 3 mint rmid, /* IN */ 3 int4 flags) /* IN */
3
3 33The following code fragment contains the xa_end( ) function: 3
3#include "xa.h" 3mint mqseries_end(XID *xid, mint rmid, int4 flags) 3 { 3/* Error */ 3 return XAER_RMERR; 3/* Success */ 3 return XA_OK; 3}3
For valid return values, refer to X/Open information, including Distributed Transaction Processing: The XA Specification.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]