PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
CA7 JOB# is just a number XA7 attributes for any jobs running in CA7. It is different that the one in JES2.
Schedule Ids are 1 to 3 digits numbers that are used to identify scheduling variations. These variations allow to schedule the same job in different ways.
Code: |
MONDAY THRU FRIDAY ----- > JOBA -- > JOBB -- > JOBC
FIRST MONDAY ----- > JOBA -- > JOBB -- > JOBE
END OF MONTH ----- > JOBA -- > JOBE -- > JOBF
|
JOBA always uses the same JCL and has the same requirements, but it triggers different jobs
depending on what day it is.
To define each of these scheduling variations to CA-7, JOBA must be given three different schedule IDs:
_ It is scheduled with schedule ID 1 Monday through Friday when it triggers JOBB which then triggers JOBC.
_ It is scheduled with schedule ID 2 on the first Monday of the month when JOBB triggers
JOBE.
_ It is scheduled with schedule ID 3 at the end of the month when it triggers JOBE
Schedule IDs can also be used to allow other scheduling variations:
_ Data set or network triggers instead of job triggers on certain day
_ Different requirements on different day
_ Different due-out or processing times on different day
_ Special JCL on certain days (the inclusion or exclusion of JCL statements is predefined in
the JCL library using #J or #X control statements)
The same job can even be triggered under one schedule ID and calendar-scheduled under
another schedule ID.
The schedule ID is defined in the SCHID field on the Job Schedule Parameter Edit screen
when you schedule the job. It is then entered on the screens where you define triggers and
requirements. It could also be included when you issue the DEMAND and RUN commands. If
it is not, it defaults to the first schedule ID defined in the database. If no schedule has been
defined for the job in the database, it defaults to 1.
Cheers
Pierre |
|