onoverlap
Defines the action that the scheduler must take on a
job stream instance that is about to start but the previous instance
has not yet completed. The options are to:
- Start the job stream instance anyway.
- Wait for the previous instance to complete.
- Cancel running the new instance altogether.
Syntax
onoverlap parallel|enqueue|donotstart
Arguments
- parallel
- The next instance is started regardless, and the two instances run concurrently. This is the
default behavior for the job stream if you do not use the
onoverlap
keyword. - enqueue
- The next instance is not started until the previous instance has completed its run.
- donotstart
- If, for any reason, the job stream cannot start within four minutes, the next instance does not start at all.
In the following example, an instance of job stream JS_0415 is run every 10 minutes. In case an
instance has not completed when the next one is to start, the next instance waits for
its completion.
SCHEDULE MDM005#JS_0415
ON RUNCYCLE ACCTRC 06/16/2024
( SCHEDTIME 1445 DEADLINE 1530 EVERY 0010 EVERYENDTIME 1515 )
ONOVERLAP ENQUEUE
:
MDM005#JS_0415
END