#include <xa.h> int db2xa_switch.xa_close_entry(char *xa_info, int rmid, long flags);
A transaction manager calls db2xa_close() to close a currently open resource manager in the thread of control. After this call, the resource manager cannot participate in global transactions on behalf of the calling thread until it is reopened.
For additional information about parameters, authorities required, return values, and error conditions, see the xa_close() API.
Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.
#include <xa.h> main() { char *xa_info; int rmid; long flags; int retcode; extern struct xa_switch_t db2xa_switch; retcode = db2xa_switch.xa_close_entry(xa_info, rmid, flags); }