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

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide522419-004
5-55
ARFETCHRECORDKEY
Considerations
The record key field only occurs in UPDATE AUDITCOMP audit records.
The value of a record key is only meaningful if the audit (data) file is key-
sequenced. For other types of files (entry-sequenced, relative, or unstructured),
the field contains the two-word internal form of the data record address.
Because audit records do not specify the file type, the TMF audit-reading
procedures cannot distinguish between an internal record address and a two-word
key, either of which can be returned. If the audited file is accessible, you can find
out its type by calling the FILEINFO system procedure.
The ARGETRECADDR procedure returns the data record address for changes to
entry-sequenced, relative, or unstructured files (the file must be accessible). You
can use ARGETRECADDR with any data change audit record (insert, delete, and
any form of update).