The xa_start() function

In each transaction, when an XA data source registers statically with the HCL Informix® transaction, HCL Informix runs the xa_start() function.

The syntax for the function is:
mint xa_start(XID *xid,   /* IN */
           mint rmid,     /* IN */
           int4 flags)   /* IN */
Table 1. The xa_start() parameters
Parameter Description
xid Pointer to the XID data structure that is defined in the xa.h file and used for the current transaction
rmid Unique resource manager identifier
flags TMNOFLAGS, which is the valid value

For valid return values, refer to X/Open information, including Distributed Transaction Processing: The XA Specification.

Currently, HCL Informix does not call the xa_start() function because the XA data source must be created with the TMREGISTER flag.