3. OpenAPI Data Types : OpenAPI Data Structures : IIAPI_XA_TRAN_ID Data Type—Identify an XA Transaction ID
 
Share this page                  
IIAPI_XA_TRAN_ID Data Type—Identify an XA Transaction ID
The IIAPI_XA_TRAN_ID datatype specifies an XA transaction ID.
This data type has the following syntax:
typedef struct _IIAPI_XA_TRAN_ID
{
       II_LONG       xt_formatID;
       II_LONG       xt_gtridLength;
       II_LONG       xt_bqualLength;
       II_CHAR       xt_data[128];
} IIAPI_XA_TRAN_ID;
This data type has the following parameters:
xt_formatID
Specifies the format ID set by TP monitor.
xt_gtridLength
Specifies the length of gtrid value in xt_data (first data item).
xt_bqualLength
Specifies the length of bqual value in xt_data (second data item).
xt_data
Specifies the concatenated gtrid and bqual data values. Length is xt_gtridLength + xt_bqualLength.