JCL JESLOG Parameter
Note! JESLOG parameter can be coded only at the job level.
The JESLOG parameter is used to specify whether the JESLOG (JESMSGLG and JESYSMSG) files are spin-eligible or not.
JESLOG is a keyword parameter and is optional.
Syntax -
JESLOG= {SPIN,'hh:mm'}
{SPIN,'+hh:mm'}
{SPIN,nnn}
{SPIN,nnnK}
{SPIN,nnnM}
{NOSPIN}
{SUPPRESS}
SPIN,'hh:mm' | JESLOG spun at hh:mm in each 24 hours period. hh is hours value has a range of 00 through 23. mm is minutes value has a range of 00 through 59. |
SPIN,'+hh:mm' | JESLOG is spun every hh:mm time interval. |
JESLOG=(SPIN,nnn) JESLOG=(SPIN,nnnK) JESLOG=(SPIN,nnnM) |
JESLOG is spun when the file has n lines. A minimum of 500 lines must be specified. |
NOSPIN | JESLOG is not spun. |
SUPPRESS | JESLOG is suppressed. |
Default and overrides -
If no JESLOG parameter is coded, the default value is NOSPIN.
Examples -
Scenario -
//MTHEXMP1 JOB (META007),'PAWAN Y',JESLOG=(SPIN,'+09:00')
The JESLOG parameter requests that JESLOG be spun every 9 hours.