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

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide522419-005
5-15
Auxiliary Audit Trails
Auxiliary Audit Trails
Although most applications use only a master audit trail, the TMF audit-reading
procedures support both master and auxiliary audit trails. The following types of audit
records can appear in either the master audit trail or an auxiliary audit trail:
All other types of audit records can appear only in the master audit trail.
Tracing transactions that involve volumes whose audit records are directed to an
auxiliary audit trail can be difficult. There is no indication within the master audit trail
that a transaction also involves an auxiliary audit trail. If you are tracing a transaction
that involves auxiliary audit trails, you will have to search every trail that includes the
transaction and correlate the audit records by using the transid.
Subset Audit Records
When several records within the same data block are all deleted or updated in
the same manner, the disk process generates a single audit record containing the
before-images and after-images of all of the affected data records. Each delete or
update represented within such an audit record is called a “subset audit record.”
The use of subset audit records has the following consequences:
The SEQNO and RBA values returned by ARREAD are the same for all related
subset audit records.
If you try to position the cursor at a particular subset audit record, the cursor
actually gets positioned at the beginning of the entire audit record (or at the end if
you are reading in the reverse direction).
delete file purge update
file alter file
rename
update
auditcomp
file
create
insert update fieldcomp