We support the following scheduled overrides statements:
#JI and #JO Statements
These statements have the following format:
{#JI|#JO} [,ID={0|nnn|nnn-nnn|(nnn,...nnn)}]
#JI
Indicates to Include the statements that are based on the specified scheduling criteria.
#JO
Indicates to Omit the statements that are based on the specified scheduling criteria.
ID(Optional)
Specifies a schedule ID number. If this ID schedules the job, this test for statement inclusion or exclusion is considered true.
Default: 0
Limits: 1 to 3 decimal characters from 0 through 999
0
All schedule IDs.
nnn
Defines a specific schedule ID.
nnn-nnn
Defines a range of schedule IDs. If either of the two IDs specified or any ID between those two IDs schedules the job, this test is considered true.
(nnn,...,nnn)
Defines a list of IDs, either specific or ranges, which are separated by commas and enclosed within parentheses. If any test in the list is true, statements are included or excluded based on the type of statement used.
#JEND Statement
Another #JO or #JI statement, an end of file, or a #JEND statement can terminate the conditional statements. The #JEND statement indicates the end of a set of Scheduled Override control statements.
This statement has the following format:
#JEND
#JEND has no other keywords, and it must begin in position 1 of the statement.
Scheduled Overrides in EBP
In EBP you need to pass a specific parameter for the schedule ID named SCHEDID when submitting a new job.
Scheduled Overrides Examples
Example: Omit statements with a several schedule IDs
This example omits statements whenever Schedule IDs 11, 12, 15, 16, 17, 18, 19, and 20 schedule a job.
#JO,ID=11,12,15-20
. (JCL statements to omit)
#JEND
Example: Include statements with several schedule IDs
This example includes statements whenever schedule IDs 1, 2, and 3 schedule a job.
#JI,ID=1-3
. (JCL statements to include)
#JEND
0 Comments