NetBatch Manual

Attributes
NetBatch Manual522460-004
7-26
CALENDAR Job Attribute
The scheduler accepts a job whose CALENDAR attribute specifies a
nonexistent
calendar file, but puts the job in the SPECIAL-7 state. For example:
5} SUBMIT JOB X, CALENDAR NOFILE
Job X job number 331 submitted
0531-W Error 11 opening CALENDAR file.
6} STATUS JOB X
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
331 X 205,70 7:CAL error DEFAULT
Error 11 in message 0531-W is the file-system error “file not found.”
To resolve the SPECIAL-7 state and make the job ready for execution:
1. Generate the specified calendar file or change the CALENDAR attribute to
specify an existing file.
2. Change the job’s HOLD ON attribute to HOLD OFF by using the ALTER JOB
command.
The scheduler accepts a job whose run calendar contains no future times,
but puts
the job in the SPECIAL-8 state. (A future time is a time ahead of the
current system date and time on the schedulers node.) For example:
7} SUBMIT JOB Y, CALENDAR OLDTIMES
Job Y job number 332 submitted
0532-W CALENDAR file has expired.
8} STATUS JOB Y
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
332 Y 205,70 8:CAL exprd DEFAULT
To resolve the SPECIAL-8 state and make the job ready for execution:
1. Regenerate the specified calendar file with future times or change the
CALENDAR attribute to specify another file containing future times.
2. Change the job’s HOLD ON attribute to HOLD OFF by using the ALTER JOB
command.
The scheduler rejects a job whose CALENDAR attribute specifies a file not
generated by BATCHCAL. For example:
9} SUBMIT JOB Z, CALENDAR EDITFILE
2068-E CALENDAR file is not a valid calendar file; it must
be created by BATCHCAL
10} STATUS JOB Z
2099-E JOB does not exist
A suspended job whose attributes include CALENDAR does not accumulate
a run
backlog while suspended. When you reactivate the job, it finishes executing
but does not run again until the next future CALENDAR time. For more information
about backlogs, see ACTIVATE JOB Command on page 6-32.
The CALENDAR and EVERY job attributes are mutually exclusive: