Previous Topic: ADDFILE CommandNext Topic: ADDPOOL Command


ADDLOG Command

The ADDLOG command defines a new log and start recording information in it.

Syntax

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

Parameters

name

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

ddlist

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.

dsnlist

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

class

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

Note:

Examples

To define LOG1 as a SYSOUT data set in class A:

ADDLOG LOG1 SYSOUT(A)

To define the CHNGLOG log through DD statements in the CA-L‑Serv start‑up procedure:

ADDLOG CHNGLOG DDNAMES(CHNGLOG1,CHNGLOG2,CHNGLOG3)