Home | Previous Page | Next Page   Database Access > Working with XA-Compliant External Data Sources > Creating User-Defined XA-Support Routines > 3 3 3

The xa_start( ) function

3

In each 3transaction, when an XA data source registers statically with a 3Dynamic Server transaction, Dynamic Server invokes the xa_start( ) function.

3

The syntax for the function is: 3

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

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

3

3 3
Note:
3
Currently, Dynamic Server does not call the xa_start( ) function 3because the XA data source should be created with the TMREGISTER flag.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]