The T_TRANSACTION
class represents run-time attributes of active transactions within the application.
1All attributes in Class 2One or more T_TRANSACTION
are local attributes.
TA_GRPNO
attribute values may be returned with each object of the T_TRANSACTION
class. The attribute values for each of these attributes belonging to the particular object are the TA_GRPCOUNT
number of occurrences beginning with the TA_GRPINDEX
.
Attribute Semantics
TA_COORDLMID
: LMID
TA_LMID
: LMID
TA_TPTRANID
: string[1...78]
tpsuspend
(3c) mapped to a string representation. The data in this field should not be interpreted directly by the user except for equality comparison.
TA_XID
: string[1...78]
tx_info
(3c) mapped to a string representation. The data in this field should not be interpreted directly by the user except for equality comparison.
TA_STATE
:
GET:{ACTive|ABortonlY|ABorteD|COMcalled|REAdy|DECided|SUSpended}
GET
operation will retrieve run-time information for the selected T_TRANSACTION
object(s). The following states indicate the meaning of a TA_STATE
returned in response to a GET
request. States not listed will not be returned. Note that distinct objects pertaining to the same global transaction (equivalent transaction identifiers) may indicate differing states. In general, the state indicated on the coordinator's site (TA_COORDLMID
) indicates the true state of the transaction. The exception is when a non-coordinator site notices a condition that transitions the transaction state to ABortonlY
. This transition will eventually be propagated to the coordinator site and result in the rollback of the transaction, but this change may not be immediately reflected on the coordinator site. All states are ACTive
equivalent for the purpose of determining permissions.
SET
: {ABorteD
}
SET
operation will update run-time information for the selected T_TRANSACTION
object. The following states indicate the meaning of a TA_STATE
set in a SET
request. States not listed may not be set.
TA_TIMEOUT
: 1 <= num
TA_STATE
) is ACTive
.
TA_GRPCOUNT
: 1 <= num
TA_GRPINDEX
: 1 <= num
TA_GRPNO
) corresponding to this object.
TA_GRPNO
: 1 <= num < 30,000
None.