
JMCL Parameters JCL Syntax Checking
Chapter 9. Job Management Control Language 9-5
JMCL Parameters
JCL Syntax Checking
With JMCL, you can retain datasets that have been flagged for purge (HOLD). You can
cancel a job if it exceeds a specified time limit (TIME=n) or specify special processing for
restarting canceled jobs (TYPRUN=RESTART).
In addition, you can prevent some job cancellations by requesting DD statement syntax
checking (TYPRUN=SCAN and TYPRUN=SCANS).
Use HOLD to prevent datasets that have been flagged for purge at EOJ from being purged if
the job cancels.
HOLD is valid on JMCL statements and is effective for the duration of the job.
HOLD
Use TIME to specify a time limit for job execution. If your job exceeds the limit you specify,
it is terminated without a dump and the "CC" condition code (see "Conditions and IF") is set
to 1.
TIME is valid on JOB statements.
The TIME parameter will be overridden by any program which uses IBM's SETIME
instruction. If this occurs, your job may not cancel as expected.
TIME=
nnnn
nnnn specifies the time period in minutes. Valid time periods are from 1 minute to 1440
minutes. No error message is issued if you specify a number out of this range. If you specify
a number greater than 1440, the time limit is set to 1440 (unlimited time execution).
// JOB XYZ TIME=60
Description
HOLD
Syntax
TIME
WARNING!
Syntax
Example
Comentarios a estos manuales