Printing your Audit Trail Report

Use the Print Audit Trail Report function to print an audit trail report using the contents of the audit trail data set. An audit trail data set is created if:
  • The Create an audit trail option is selected when you use either the Edit data or Edit MQ data function.
  • The auditing setting in the HFM0POPT macro has been set to YES or DEMAND.
  • A SAF rule is in place for the function and resource.
Note: You can create an audit trail data set yourself using the batch job HFMSMFX (supplied with Z Data Tools). This job creates an audit trail data set using data from the SMF log file. For details, see the Z Data Tools Customization Guide, SC27-9041.

When you select the Print audit trail report option, the Print Audit Trail panel shown in Figure 1 is displayed.

To print an audit trail report:

  1. Specify the name of the audit trail data set that contains the audit trail data you want to print (Data set name).
    If Z Data Tools created the audit trail data set, the name is in the format userid.HFMLOG.Dyymmdd.Thhmmss where:
    userid
    is the ID of the user
    HFMLOG
    is a constant that identifies the data set as an audit log (trail)
    Dyymmdd
    is the date Z Data Tools created the audit trail data set
    Thhmmss
    is the time Z Data Tools created the audit trail data set
    Note: If the AUDITHLQ option is set in the HFM0POPT macro (see Z Data Tools Customization Guide), audit trail data sets have the name audithlq.userid.HFMLOG.Dyymmdd.Thhmmss.

    If you created the audit trail data set yourself, use the data set name you specified in the supplied batch job HFMSMFX. For details, see the Z Data Tools Customization Guide.

  2. To help identify your audit trail report, use the Description entry field. If the description contains embedded spaces, you must enclose it in quotation marks. The description you enter appears on the Formatted Audit Event Records section of the report.
  3. Select the processing options you want:
  4. Press Enter.