OpenAPI User Guide > OpenAPI User Guide > OpenAPI Data Types > OpenAPI Data Structures > IIAPI_XA_DIS_TRAN_ID Data Type--Identify a Distributed XA Transaction ID
Was this helpful?
IIAPI_XA_DIS_TRAN_ID Data Type--Identify a Distributed XA Transaction ID
The IIAPI_XA_DIS_TRAN_ID datatype specifies a distributed XA transaction ID.
This data type has the following syntax:
typedef struct _IIAPI_XA_DIS_TRAN_ID
{
       IIAPI_XA_TRAN_ID     xa_tranID;
       II_INT4              xa_branchSeqnum;
       II_INT4              xa_branchFlag;
} IIAPI_XA_DIS_TRAN_ID;
This data type has the following parameters:
xa_tranID
Specifies the unique transaction ID of an XA transaction.
xa_branchSeqnum
Specifies the branch sequence number.
xa_branchFlag
Specifies branch flags. A combination of one of the following flags:
IIAPI_XA_BRANCH_FLAG_NOOP
IIAPI_XA_BRANCH_FLAG_FIRST
IIAPI_XA_BRANCH_FLAG_LAST
IIAPI_XA_BRANCH_FLAG_2PC
IIAPI_XA_BRANCH_FLAG_1PC
Last modified date: 11/28/2023