db2xa_forget()--Forget an XA Transaction Branch (Job Scoped Locks)


  Syntax
 #include <xa.h>

 int db2xa_switch.xa_forget_entry(XID *xid,     
     int rmid, long flags);

  Default Public Authority: *USE

  Service Program: QTNXADTP

  Threadsafe: Yes

A transaction manager calls db2xa_forget() to forget about a heuristically completed transaction branch. After this call, the *xid is no longer valid.

For additional information about parameters, authorities required, and error conditions, see the xa_forget() API.


Example

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.

#include <xa.h>

main() {
  XID  *xid;
  int  rmid;
  long flags;
  int  retcode;
  extern struct xa_switch_t db2xa_switch;

  retcode =
     db2xa_switch.xa_forget_entry(xid, rmid, flags);
}


API introduced: V4R3

[ Back to top | UNIX-Type APIs | APIs by category ]