IBM Books

Administrative API Reference

SQLXA-XID

Used by the transaction APIs to identify XA transactions (see Appendix B. Transaction APIs).

Table 80. Fields in the SQLXA-XID Structure
Field Name Data Type Description
FORMATID INTEGER XA format ID.
GTRID_LENGTH INTEGER Length of the global transaction ID.
BQUAL_LENGTH INTEGER Length of the branch identifier.
DATA CHAR[128] GTRID, followed by BQUAL and trailing blanks, for a total of 128 bytes.
Note:The maximum size for GTRID and BQUAL is 64 bytes each.

Language Syntax

C Structure



/* File: sqlxa.h */
/* Structure: SQLXA-XID */
/* ... */
typedef struct sqlxa_xid_t SQLXA_XID;
/* ... */
 



/* File: sqlxa.h */
/* Structure: SQLXA-XID-T */
/* ... */
struct sqlxa_xid_t
{
  long formatID;
  long gtrid_length;
  long bqual_length;
  char data[SQLXA_XIDDATASIZE];
};
/* ... */
 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]