Previous Topic: ADDFILE Command

Next Topic: ADDPOOL Command

ADDLOG Command

The ADDLOG command lets you define a new log and start recording information in it.

Syntax

ADDLog name [[DDNAMES(ddlist)] [DSNAMES(dsnlist)] [SYSOUT(class)]]

Operand

Explanation

DDNAMES

References DD statements in the CA-L‑Serv start‑up procedure where log files are defined. Specify up to four DD names, separated by commas or spaces.

DSNAMES

Identifies cataloged data sets that store log files. Specify up to four data set names, separated by commas or spaces.

name

Identifies the 1‑ to 8‑character name for a log. To define a message log or trace log, specify MSGLOG or TRACE as the log name.

SYSOUT

Defines log files as SYSOUT data sets in the class you specify here. Specify a single SYSOUT class. If you want to print log files, define them as SYSOUT data sets.

Note:

Examples

To define LOG1 as a SYSOUT data set in class A, issue this command:

ADDLOG LOG1 SYSOUT(A)