NetBatch Manual

Attributes
NetBatch Manual522460-004
7-25
CALENDAR Job Attribute
Name Primary Backup Ancestor
$ZBAT 0,51 2,58 $X849
This example shows that the BACKUPCPU attribute has no effect on the result of
a SWITCHCPU SCHEDULER command:
> BATCHCOM $ZBAT; INFO SCHEDULER, BACKUPCPU
SCHEDULER ATTRIBUTES
backupcpu: 1,3
> PPD $ZBAT
Name Primary Backup Ancestor
$ZBAT 0,51 2,58 $X849
> BATCHCOM $ZBAT; SWITCHCPU SCHEDULER
Scheduler CPUs switched
> PPD $ZBAT
Name Primary Backup Ancestor
$ZBAT 2,58 0,51 $X849
CALENDAR Job Attribute
The CALENDAR job attribute specifies the name of the BATCHCAL file containing a
job’s run calendar. The calendar lists the dates and times at which the scheduler
automatically runs the job.
file-name
is the name of a BATCHCAL-generated calendar file (file code 848). For
information about generating a calendar file, see Section 5, Run Calendar
Generation and Display.
BATCHCOM expands a partially qualified file name by using the defaults specified
in the last VOLUME command. If there was no such command, the defaults current
at the start of the session apply.
If you specify CALENDAR without file-name in an ALTER JOB command, the
scheduler removes the CALENDAR attribute from the job. Specifying CALENDAR
without file-name in a SET JOB command makes BATCHCOM remove the
CALENDAR attribute from the working-attributes set.
Considerations
A job submitted without the CALENDAR attribute can run immediately on
submission unless delayed by another attribute. When execution finishes, the
scheduler reschedules the job to run at the next future CALENDAR time.
The NetBatch expression for a job with the CALENDAR or EVERY attribute
is
“recurrent job.” These attributes cause the job to run repeatedly (recur) at a
specified interval. Conversely, a nonrecurrent job is a job whose attributes do not
include CALENDAR or EVERY.
CA[LENDAR] [ file-name ]