WRITELOG Command - Close and Open Log Files

Use the WRITELOG command to close the current ESF system log file, and to allocate and open a new log file.
spool
Use the WRITELOG command to close the current ESF system log file, and to allocate and open a new log file.
The WRITELOG command is valid only if the LOG option has been specified (or assumed by default) at initialization time. The WRITELOG command causes the current ESF system log file, which is a spin-off SYSOUT file, to be released for JES print processing. The system does not delete previous log files. Installations can remove old log files to preserve space.
Note:
If you are using JES3 and if you specify both XFEROPT=17 and LOGHOLD=YES, then LOGDEST is used as a WRITER instead of a DEST value when the ESFLOG sysout is allocated.
This command has the following format:
WRITELOG