TMF Application Programmer's Guide (G06.24+)
TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-004
5-27
Record Formats
UPDATE (10)
This record signifies the modification of an existing record in an audited file. An update
record can occur in either the master audit trail or an auxiliary audit trail.
Note that when audit compression is enabled, update records are not generated;
instead, the disk process generates update autocomp records for Enscribe data files
and update fieldcomp records for NonStop SQL/MP files.
Variable-length fields: before-image and after-image
UPDATE AUDITCOMP (11)
This record reflects updates to an Enscribe file when audit compression is enabled.
The major difference between this record and an update record is that the before-
image and after-image within an update auditcomp record are encoded. Call
ARFETCHFRAGMENT to get the offset, length, before-image, and after-image of each
data record fragment. The recordkey field identifies the modified record.
Variable-length fields: recordkey and fragments
02 UPDATEREC 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
04 AFTERLEN type binary 32,0. ! after-image length
04 FILLER type x(4)
02 UPDATEAUDITCOMPREC 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 KEYLEN type binary 32,0. ! record key length
04 NUMFRAGS type binary 16,0 ! #datarec frags in
! audit rec
04 FILLER type x(6)