db2xa_start()--Start an XA Transaction Branch (Job Scoped Locks)


  Syntax
 #include <xa.h>

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

  Default Public Authority: *USE

  Service Program: QTNXADTP

  Threadsafe: Yes

A transaction manager calls db2xa_start() to inform a resource manager that an application may do work on behalf of a transaction branch. When using the XA APIs for Job Scoped Locks, the XA resource manager does not use this function. It dynamically registers work done on behalf of a transaction by using the ax_reg() function. This function is provided only for compliance with the X/Open XA Specification.

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



API introduced: V4R3

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