TMF Application Programmer's Guide (H06.06+, J06.03+)

HP NonStop TMF Application Programmers Guide540139-009
5-1
5
TMF ARLIB2 Audit-Reading
Procedures
This section describes the ARLIB2 audit-reading interface that is available in the
H06.03 and later release version updates (RVUs) of the TMF product.
The TMF ARLIB2 audit-reading interface allows you to programmatically examine TMF
audit records for SQL/MX, SQL/MP, and Enscribe objects. The interface consists of
two parts: a set of procedures that you bind into your program and a set of data
definitions that describe the information returned by the procedures. Table 5-2
summarizes the ARLIB2 audit-reading procedures.
Information about how to include the TMF ARLIB2 audit-reading procedures in your
application is described under How to Include Audit Reading in an Application on
page 5-110.
This section contains the following topics:
ARLIB2 Compared to ARLIB on page 5-2
Cursors on page 5-3
Restoring Audit-Trail Files From Audit Dumps on page 5-4
Retrieving Information From Audit Records on page 5-5
Error Reporting on page 5-6
Audit Compression on page 5-7
Reading Active Audit Files on page 5-8
Reading a Range of Audit-Trail Files on page 5-9
Reading a Merged Audit Trail With a MERGE Cursor on page 5-10
Reading a Merged Audit Trail Without a MERGE Cursor on page 5-11
Distributed Transactions on page 5-12
Auxiliary Audit Trails on page 5-15
NonStop SQL/MP Internal Field Formats on page 5-16
Audit Records on page 5-19
Procedure Calls on page 5-32
Error Codes on page 5-103
How to Include Audit Reading in an Application on page 5-110