TMF Application Programmer's Guide (G06.26+)

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
5-22
Record Formats
It is also possible for TMF to be configured as a MAT-only environment and for the first
auxiliary audit trail to be added after TMF is started. You must be able to handle and
properly process an AUX POINTER record from the master audit trail, and retrieve
audit, if deemed necessary, from a new auxiliary audit trail.
If the "MERGE" generic audit trail name is used in ARLIB2, then ARLIB2 will handle
the new auxiliary audit trail(s) and return the audit records from the newly added
trail(s).
COMMIT (2)
This record is generated whenever a transaction is made permanent by a call to
ENDTRANSACTION. Commit records can occur only in the master audit trail.
Variable-length fields: child node list
DELETE (3)
This record indicates the deletion of a record from an audited file. Delete records can
occur in either the master audit trail or an auxiliary audit trail.
Variable-length fields: before-image
02 COMMITREC redefines BODY.
04 TRANSID type binary 64,0.
04 HOMENODE type binary 32,0. ! system number
04 PARENTNODE type binary 32,0. ! system number
04 NUMCHILDREN type binary 16,0. ! # of child nodes
04 FILLER type x(6).
02 DELETEREC redefines BODY.
04 TRANSID type binary 64,0.
04 DATAFILE type FILESPEC.
04 EXTERNALNAME type DSMSMFILESPEC.
04 OBJECTTYPE type binary 16,0. ! to id SQL/MX objects
04 UNDOFLAG type binary 16,0.
04 HOMENODE type binary 32,0. ! system number
04 BEFORELEN type binary 32,0. ! before-image length