File Formats, Data Descriptions, MIBs, and System Processes Reference
The T_TRANSACTION
class represents run-time attributes of active transactions within the application.
(k)— |
T_TRANSACTION
class are local attributes.TA_GRPNO
and TA_GSTATE
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
.Retrieval machine logical machine identifier. Note that transaction attributes are primarily kept local to a site and coordinated via common transaction identifiers by transaction management servers (TMSs).
Transaction identifier as returned from tpsuspend()
mapped to a string representation. The data in this field should not be interpreted directly by the user except for equality comparison.
Transaction identifier as returned from tx_info()
mapped to a string representation. The data in this field should not be interpreted directly by the user except for equality comparison.
GET:
"
{ACTive
| ABortonlY
| ABorteD
| COMcalled
| REAdy
| DECided
| SUSpended
}"
A 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. 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.
A 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.
Time left, in seconds, before the transaction will timeout on the retrieval site. Note that this attribute value is returned only when the transaction state (TA_STATE
) is ACTive
.
Number of groups identified as participants in the transaction by the information returned from the retrieval site.
Index of the first group specific attribute values (TA_GRPNO
and TA_GSTATE
) corresponding to this object.
GET:
"
{ACTive
| ABorteD
| ReaDOnly
| REAdy
| HCOmmit
| HABort
| DONe
}"
A GET
operation will retrieve run-time information for the selected T_TRANSACTION
object(s) pertaining to the indicated group. The following states indicate the meaning of a TA_GSTATE
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 for individual groups. In general, the state indicated on the group's site indicates the true state of the group's participation in the transaction. The exception is when the coordinator site determines that the transaction should abort and sets each participant group state to ABorteD
. This transition will be propagated to the group's site and result in the rollback of the group's work in the transaction but may not be reflected immediately.
A SET
operation will update run-time information for the first group in the originating request within the selected T_TRANSACTION
object. The following states indicate the meaning of a TA_GSTATE
set in a SET
request. States not listed may not be set. State transitions are allowed only when performed within the object representing the group's site (TA_LMID
).