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

Audit File Record Formats
Safeguard Audit Service Manual520480-014
A-91
OSS Open Record
Attributes record is generated with variant type 5. The link record is represented in the
ZTEXT-AREA of secondary audit record with this template overlay:
DDL Definition
DEF ZSFG-DDL-OSSLINK-SUBREC
02 ZLINK-COUNT TYPE ZSPI-DDL-UINT.
02 ZPATHNAME-LEN TYPE ZSPI-DDL-UINT.
02 ZPATHNAME TYPE ZSPI-DDL-BYTE OCCURS 1024 TIMES.
END.
Field Definitions
ZLINK-COUNT
is the number of links.
ZPATHNAME-LEN
is the length of the pathname used to find the file. This is zero in the case of an
unlink() operation if link count is not zero.
ZPATHNAME
is the pathname used to find the file. The ObjectName field in the primary record
has the pathname of the new file. This field is not passed when ZPATHNAME-LEN
is zero.
OSS Open Record
An open record is generated whenever a file residing in an audited fileset is opened.
The open record is represented in the ZTEXT-AREA of secondary audit record with
this template overlay:
DDL Definition
DEF ZSFG-DDL-OSSOPEN-SUBREC.
02 ZOPEN-FLAGS TYPE ZSPI-DDL-INT2.
END.
Field Definitions
ZOPEN-FLAGS
specifies the flags used to open the file. These flags indicate the type of access,
special open processing, the type of update, and the initial state of the open file.