The T_TLOG
class represents configuration and run-time attributes of transaction logs. This class allows the user to manipulate logs within an application, that is, create, destroy, migrate, etc.
1All attributes in Class One or more T_TLOG
are local attributes
TA_GRPNO
and TA_TLOGDATA
attribute values may be returned with each object of the T_TLOG
class. The attribute values for each of these attributes belonging to the particular object are the TA_TLOGCOUNT
number of occurrences beginning with the TA_TLOGINDEX
.
Attribute Semantics
TA_LMID
: LMID
TA_STATE
:
GET: {ACTive|INActive|WARmstart}
GET
operation will retrieve log configuration and run-time information for the selected T_TLOG
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.
SET: {WARmstart}
SET
operation will update log configuration and run-time information for the selected T_TLOG
object. The following states indicate the meaning of a TA_STATE
set in a SET
request. States not listed may not be set.
TA_TLOGCOUNT
: 1 <= num
TA_TLOGDATA
) counted, retrieved, or to be added. This attribute is ignored for SET
operations with a state change indicated. For valid SET
operations with no state change, this attribute indicates the number of log records to be added to an active transaction log. A GET
operation with neither TA_GRPNO
nor TA_TLOGDATA
specified returns a count of in use log records. A GET
operation with only TA_GRPNO
set will return a count of in use log records with a coordinator group matching the indicated group. A GET
operation with only TA_TLOGDATA
set ("") will return a count of in use log records and populate arrays of TA_TLOGDATA
and TA_GRPNO
attribute values corresponding to the in use log records. A GET
operation with both TA_GRPNO
and TA_TLOGDATA
set ("") will return a count of in use log records with a coordinator group matching the indicated group and populate arrays of TA_TLOGDATA
and TA_GRPNO
attribute values corresponding to the in use log records.
TA_TLOGINDEX
: 0 <= num
TA_GRPNO
and TA_TLOGDATA
) corresponding to this object.
TA_GRPNO
: 1 <= num < 30,000
TA_TLOGDATA
: string[1...256]
None