Creating operation log files

Before you start to use the operation logs, it is necessary to create and initialize the output VSAM files that are specified for the File Access Log Output Data Set Name 1 and the File Access Log Output Data Set Name 2 or the Command Execution Log Output Data Set Name 1 and the Command Execution Log Output Data Set Name 2 in the System Environment Settings.

For details, refer to the following:

HULFT10 for zOS Installation Manual : Creation of the HULFT system files

Creation of Operation Log Output VSAM Files

Based on JCL templates (OPLVSAM), create two VSAM files for the File Access Log and two VSAM files for the Command Execution Log.

= Remarks =
  • To output only the File Access Log, it is not necessary to create VSAM files for the Command Execution Log.

  • To output only the Command Execution Log, it is not necessary to create VSAM files for the File Access Log.

Initialization of Operation Log Output VSAM Files

Execute the System File Initialization program (XRCREATE) to identify the number of operation log records that can be stored in each of the operation log output VSAM files, and store the information in the log file control record of each VSAM file.

When the program is executed for the second time or after, the program does not clear the contents of each VSAM file but initializes the log file control record.