LOGREC

LOGREC={dsname | LOGSTREAM | IGNORE} 
LOGREC specifies the logrec recording medium to be used for error and environmental recording. If this parameter is omitted, then SYS1.LOGREC is the default data set name specification.
Before specifying LOGSTREAM to define a log stream as the logrec recording medium, IBM® suggests that you load the initial program with a logrec data set initialized by IFCDIP00. If you do not load the initial program with a logrec data set, you cannot change the logrec recording medium from LOGSTREAM to DATASET using the SETLOGRC command.
dsname
Specifies the name of the logrec data set to be used for error recording. In a multisystem environment, if you specify a unique name for each of your logrec data sets, IBM suggests that you not place these names in the SYSTEMS exclusion resource name list in parmlib member GRSRNLxx.

Before an IPL, the logrec data set must have been allocated, cataloged (unless on the SYSRES) in the system master catalog, and initialized using IFCDIP00. In a multisystem environment, take care in running IFCDIP00 to insure, if using the SYS1.LOGREC data set name default, that the correct logrec data set is initialized.

LOGSTREAM
Specifies that the logrec log stream (SYSPLEX.LOGREC.ALLRECS) is to be used for the error and environmental recording. The log stream provides a single repository for all of the MVS™ images in a sysplex. The log stream eliminates the need to allocate, catalog, and initialize a logrec data set on each system. When reporting programs, such as EREP, are run, the single log stream can be used as input to the program.
IGNORE
Specifies that error and environmental recording are to be ignored. Logrec records will not be recorded to the output medium; no records are written to a logrec data set or to the logrec log stream. Also, the system does not issue the ENF event code 36 signal for records when IGNORE is specified.
Attention: This specification is intended to be used only on test systems when a logrec data set is not established and the logrec log stream is not defined.
Syntax Examples for the LOGREC Parameter: Table 1 shows syntax examples of the LOGREC parameter and the results they produce.
Table 1. Syntax Examples for the LOGREC Parameter
Example Result
LOGREC=SYSA.LOGREC
The data set 'SYSA.LOGREC' will be used.
LOGREC=SYSTEMA.LOGREC
The data set 'SYSTEMA.LOGREC' will be used.
LOGREC=&SYSNAME;.LOGREC
Assuming the value specified on the SYSNAME= parameter is SYSTEMA, the data set 'SYSTEMA.LOGREC' will be used.
LOGREC=&SYSNAME;&SYSNAME;DATA.FILE Assuming the value specified on the SYSNAME= parameter is S1, the data set 'S1S1DATA.FILE' will be used.
LOGREC=LOGSTREAM
The logrec log stream, SYSPLEX.LOGREC.ALLRECS, will be used by SVC 76 (LOGREC) to record error and environmental records.
LOGREC=IGNORE
No error or environmental recording by SVC 76 will occur.

Value Range: One of the allowable specifications. The value for dsname can contain system symbols. When the dsname option is used, only one data set can be specified.

Default Value: SYS1.LOGREC

Associated Parmlib Member: When LOGSTREAM is specified, see COUPLExx (cross-system coupling facility (XCF) parameters).