Safeguard Audit Service Manual (G06.24+, H06.03+)

Audit File Record Formats
Safeguard Audit Service Manual520480-014
A-3
Audit Record Definitions
Audit Record Definitions
This subsection contains DDL definitions for each type of record that appears in the
audit files. For more information about DDL definitions, see the Data Definition
Language (DDL) Reference Manual.
Some fields in the audit records are optional. That is, they are blank or set to zero if
they are not defined or not applicable. For example, for an unnamed system, the field
ZAUDITING-SYSTEMNAME is blank.
To examine the actual language-specific DDL for the audit files, check these files on
your system:
For the exact location of these files, contact your system manager.
Audit File Header Record
The audit file header record is the first record written to every audit file. It contains
global attributes common to every audit record in the file and information about the file
itself.
DDL Definition
DEF ZSFG-DDL-HEADER-RECORD.
02 ZRECORD-TYPE TYPE ZSPI-DDL-ENUM.
02 ZRECORD-LEN TYPE ZSPI-DDL-UINT.
02 ZAUDIT-RECORD-VERSION TYPE ZSPI-DDL-ENUM.
02 ZCREATION-TIME TYPE ZSPI-DDL-TIMESTAMP.
02 ZCREATION-PROGRAM TYPE ZSPI-DDL-BYTE OCCURS 48 TIMES.
02 ZTOS-VERSION TYPE ZSPI-DDL-UINT.
02 ZSFG-VERSION TYPE ZSPI-DDL-UINT.
02 ZAUDITING-SYSTEMNUMBER TYPE ZSPI-DDL-INT2.
02 ZAUDITING-SYSTEMNAME TYPE ZSPI-DDL-BYTE OCCURS 8 TIMES.
02 ZTIMEZONE-OFFSET TYPE ZSPI-DDL-TIMESTAMP.
02 ZAUDIT-FILENAME TYPE ZSPI-DDL-BYTE OCCURS 48 TIMES.
02 ZAUDIT-FILE-PREDECESSOR TYPE ZSPI-DDL-BYTE OCCURS 48 TIMES.
02 ZAUDIT-FILE-SUCCESSOR TYPE ZSPI-DDL-BYTE OCCURS 48 TIMES.
02 ZCLOSE-TIME TYPE ZSPI-DDL-TIMESTAMP.
02 ZCOMPRESSION-ID TYPE ZSPI-DDL-UINT.
02 ZSFG-VERSIONBANNER TYPE ZSPI-DDL-BYTE OCCURS 50 TIMES.
END.
ZSFGDDL DDL source files
ZSFGTAL DDL output for TAL programs
ZSFGC DDL output for C programs
ZSFGPAS DDL output for PASCAL programs
ZSFGCOB DDL output for COBOL programs
ZSFGTACL DDL output for HP Tandem Advanced Command Language (TACL)
programs