Previous Topic: Additional Considerations for Logs

Next Topic: Auxiliary Message Logs

Define Log Files

To define a log file, you need to issue an ADDLOG logname command. Provide log files by including one of these parameters on your command:

Type of Log File

ADDLOG Operand

Considerations

Cataloged data set

DSNAMES(dsnames)

Specify up to four data set names, delimited by commas or spaces.

If all data set names cannot fit into one single LSVPARM line, use commas as continuation characters for the ADDLOG command.

SYSOUT data set

SYSOUT(class)

Specify a single SYSOUT class.

Use SYSOUT data sets if you want to print log files.

Data sets referenced on DD statements in the CA-L-Serv startup procedure

DDNAMES(ddnames)

Specify up to four DD names, delimited by commas or spaces.

For each DD name, add a DD statement to the CA-L-Serv startup procedure.

For example, to use data sets MSGLOG.DATA.SET.ONE and MSGLOG.DATA.SET.TWO as message log files, specify this command:

ADDLOG MSGLOG DSNAMES(MSGLOG.DATA.SET.ONE ,
                      MSGLOG.DATA.SET.TWO)