Parameters

The parameters are:

LOGSTREAMStart of change | LSEnd of change
Start of changeIndicates that the desired medium for recording logrec error and environmental records is a log stream. To use a log stream, the logrec log stream must be defined. See z/OS MVS Setting Up a Sysplex for information about logrec log stream definitions.

Optionally, you can specify a new log stream name by setting LOGSTREAM=lsname, where lsname is the log stream to which you want to record logrec entries.

End of change
DATASETStart of change | DSEnd of change
Start of changeIndicates that the desired medium for recording logrec error and environmental records is a data set. You can change the recording medium to and from dataset at any time. This setting instructs logrec to use dynamic allocation to find the logrec data set, as long as it is cataloged. Ensure that your data set meets the preconditions of a logrec data set and is initialized through EREP. For more information about preparing the logrec data set, see z/OS MVS Diagnosis: Tools and Service Aids .

Optionally, you can specify a new data set name by setting DATASET=dsname, where dsname is the data set to which you want to record logrec entries. If logrec is currently recording to DATASET, the system closes the old data set and opens the new data set for processing.

End of change
IGNORE
Start of changeIndicates that recording logrec error and environmental records is to be disabled.

IGNORE closes LOGSTREAM connections, then closes and deallocates DATASET resources. You can use IGNORE to perform maintenance for the logrec medium; however, logrec records are not recorded when IGNORE is in use.

End of change