Printing an audit trail report

To print an audit trail report using the contents of the audit trail data set, use the Audit trail utility function (3.10).

An audit trail data set is created if the Create an audit trail option is selected when you use:
  • View (option 1)
  • Edit (option 2)
  • Copy (option 3.3)
Note: You can create an audit trail data set yourself using the batch job FMNSMFX (supplied with FM/Db2). This job creates an audit trail data set using data from the SMF log file. For details, see the File Manager Customization Guide.

To display the Print Audit Trail panel,

  1. From the Primary Option Menu panel, enter 3 (Utilities) to display the Utility Functions panel.
  2. From the Utility Functions panel, enter 10 (Audit trail)

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 FM/Db2 created the audit trail data set (as a result of FM/Db2 view, edit, or copy activity), the name is in the format
    prefix.FMN2AUD.ssid.Dyymmdd.Thhmmss
    or
    userid.FMN2AUD.ssid.Dyymmdd.Thhmmss
    where:
    prefix
    is the TSO prefix of the user, if it exists.
    userid
    is the ISPF shared pool variable ZUSER. This is typically the same as the user's TSO logonid.
    FMN2AUD
    is a constant that identifies the data set as an audit trail
    ssid
    is the Db2® subsystem ID
    Dyymmdd
    is the date FM/Db2 created the audit trail data set
    Thhmmss
    is the time FM/Db2 created the audit trail data set
    Note: If the AUDITHLQ option is set in FMN0POPT (see File Manager Customization Guide), audit trail data sets have the name audithlq.FMNLOG.Dyymmdd.Thhmmss.

    If you created the audit trail data set yourself, use the data set name you specified in the supplied batch job FMNSMFX. For details, see the File Manager 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 is displayed on the Formatted Audit Event Records section of the report.
  3. Select the processing options you want:
    Print only changed columns
    Limits the amount of printed lines.
    Keep data set after printing
    Whether to keep or delete the data set after it is printed.
    Browse report
    The audit trail report is displayed using Print Browse (option 3.11).
    Note: The contents of the audit trail report are transferred to a SYSOUT class as specified by the PRINTOUT print option on the Set Print Processing Options panel. To browse the audit trail report, set the PRINTOUT print option to SYSOUT=c.
    Batch execution
    Generates JCL for printing the audit trail report using a batch job. For command syntax, see AUD (Print Audit Trail Report) in the File Manager User’s Guide and Reference.
  4. Press Enter.