#include <xa.h>
int db2xa_switch.xa_rollback_entry(XID *xid,
int rmid, long flags);
A transaction manager calls db2xa_rollback() to roll back work performed on behalf of the transaction branch. A transaction branch is capable of being rolled back until is has been successfully committed.
For additional information about parameters, authorities required, return values, and error conditions, see the xa_rolback() API.
See Code disclaimer information for information pertaining to code examples.
#include <xa.h>
main() {
XID *xid;
int rmid;
long flags;
int retcode;
extern struct xa_switch_t db2xa_switch;
retcode =
db2xa_switch.xa_rollback_entry(xid, rmid, flags);
}
| Top | UNIX-Type APIs | APIs by category |