Creating operation log backup files
Before you start to use the functions described in Automatically switching operation logs or Manually switching operation logs, it is necessary to create backup output data sets (generation files) that are specified for the Command Execution Log Backup Output Data Set Name (OPLCMDBK) and the File Access Log Backup Output Data Set Name (OPLFILEBK) in the System Environment Settings.
Creation of Backup Output Data Set
To back up the operation logs, it is necessary to define backup output data sets as generation files in advance. A JCL example that defines generation files is shown below.
[Example of JCL]
//GDGAMS JOB CLASS=A,MSGCLASS=B //STEP1 EXEC PGM=IDCAMS,REGION=2048K //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE GDG(NAME(HULFT.OPLCMD.BKUP) LIMIT(5) SCR) DEFINE GDG(NAME(HULFT.OPLFILE.BKUP) LIMIT(5) SCR) /* //
Parameter Name |
Value |
Description |
---|---|---|
NAME |
HULFT.OPLCMD.BKUP |
Command Execution Log Backup Output Data Set Name |
NAME |
HULFT.OPLFILE.BKUP |
File Access Log Backup Output Data Set Name |
For details on generation files, refer to the manual for the operating system.
-
To back up only the Command Execution Log, it is not necessary to create generation files for the File Access Log backup output data set.
-
To back up only the File Access Log, it is not necessary to create generation files for the Command Execution Log backup output data set.