Audit data set configuration

The format of the audit log data set name is determined by the setting of the AUDITHLQ parameter in the HFM0POPI definition in HFM1POPT. See AUDITHLQ for more information about the AUDITHLQ option.

The following data set name formats may be generated:

where:

audithlq
Any 1-8 character constant that is valid in the context of a data set name.
userid
The user ID creating the data set
Dyymmdd
The date of the activity.
Thhmmss
The time of the activity.

When AUDITHLQ contains one or more periods, the AUDITHLQ value is treated as a data set prefix, with one, two or three levels. Each level of the prefix can be:

XXX
Any 1-8 character constant that is valid in the context of a data set name.
&&PREFIX
Indicates that the user's TSO prefix should be used. This is null if TSO NOPREFIX is in effect and, after substitution, the appropriate level of the audit log data set name prefix is also null.
&&USER
Indicates that the user's logonid (ISPF system variable ZUSER, stored in the shared pool) should be used.
&&UID
Indicates that the user's TSO prefix should be used, when the value is non-blank. When TSO NOPREFIX is in effect, the user's TSO logonid (ISPF system variable ZUSER, stored in the shared pool) should be used.
&&FUNCOD
Indicates that the Z Data Tools internal function code should be used. Specifying this parameter allows the Z Data Tools function that generated the audit log data set to be included in the audit log data set name.
&&SSID
Indicates that the currently connected IMS™ subsystem name should be used.

Set the AUDITHLQ parameter in the HFM0POPI macro for the HFM1POPT to the required value, based on the above information and your site's requirements.

You can print the information in a Z Data Tools IMS audit data set using the ZDT/IMS Print Audit Trail utility. To do this select option 3.8 from the ZDT/IMS Primary Option Menu.