Used by the transaction APIs to identify XA transactions (see Appendix B. "Transaction APIs").
Table 73. 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. | ||
| ||||
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];
};
/* ... */
|