DTCCTX
DTCCTX is a TCL keyed list that contains information about the current state. DTCCTX is copied into the DTC thread’s DRVCTRL before calling the Action and Rollback TPS.
TPS’s can then extract DTCCTX from DRVCTRL to read and write, to or from, the Staging database.
The DTC specific Staging database TCL API accepts DTCCTX as a parameter.
DTCCTX has this structure:
{DTCCTX { {XID xid} {STEP step} {STATE state} } }
Key | Description |
---|---|
XID | Transaction ID |
STEP | Current step number |
STATE | State name |