TMF Application Programmer's Guide (G06.24+)
TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-004
5-20
Record Formats
Record Formats
Included in each of the following record descriptions is the DDL representation of those
fields that are returned by the ARREAD procedure and a list of any variable-length
fields that you can access by using one of the ARFETCHxxx procedures.
Each record has the following general form:
where the BODY field is redefined for each specific record type.
Within some of the record definitions, the DATAFILE entry refers to the following
FILESPEC definition:
record ARRECORD.
02 RECTYPE type binary 16,0. ! record type constant
02 FILLER pic x(2). ! for alignment
02 SEQNO type binary 32,0. ! audit file sequence #
02 RBA type binary 64,0. ! rel byte addr of record
02 FILLER pic x(2). ! for alignment
02 AUX-INDEX type binary 16,0. ! for MERGE cursor
02 AUX-SEQNO type binary 32,0. ! for MERGE cursor
02 AUX-RBA type binary 64,0. ! for MERGE cursor
02 TIMESTAMP type binary 64,0.
02 FILLER pic x(24).
02 BODY pic x(136).
end ! of record ARRECORD.
definition FILESPEC.
02 VOLUME type character 8. ! $volume-name
02 VOLUME-I type binary 16,0 occurs 4 times
redefines VOLUME.
02 SUBVOL type character 8. ! subvolume-name
02 SUBVOL-I type binary 64,0.
redefines SUBVOL.
02 FILENAME type character 8. ! disk-filename
02 FILENAME-I type binary 16,0 occurs 4 times
redefines FILENAME.
end ! of definition FILESPEC.