NetBatch Manual

Attributes
NetBatch Manual522460-004
7-62
HOLD Job Attribute
Example
This example shows the HIGHPIN job attribute making the scheduler run a job’s
executor-program process at a high PIN (PIN 267):
> BATCHCOM $ZBAT; SUBMIT JOB FILES, IN FILES, EXECUTOR-
PROGRAM TACL, HIGHPIN ON
Job FILES job number 399 submitted
> STATUS *, GMOMJOBID $ZBAT.399
Process … Program file Hometerm
$Z0279 1,267 … $SYSTEM.SYS00.TACL $ZBAT
HOLD Job Attribute
The HOLD job attribute determines whether a job is available for execution.
OFF
makes the job available for execution.
ON
prevents the scheduler from executing the job. A job with the HOLD ON attribute is
on hold and has a state of SPECIAL-1.
Considerations
The HOLD attribute prevents a job from running. The HOLDAFTER attribute
allows
the job to run, but puts it on hold after it has run.
The scheduler treats a job submitted without the HOLD attribute like a job
with the
attribute HOLD OFF.
Assigning the attribute HOLD ON to an executing, over-limit, or suspended
nonrecurrent job has no effect on the job. (A nonrecurrent job is one whose
attributes do not include CALENDAR or EVERY.)
Assigning the attribute HOLD ON to an executing, over-limit, or suspended
recurrent job does not affect the job until it recurs. (A recurrent job has the attribute
CALENDAR or EVERY.) The state of the job when it does recur is SPECIAL-1, not
TIME.
These considerations apply to recurrent jobs:
°
A job on hold whose attributes include EVERY accumulates a run
backlog if
held for longer than the interval the attribute specifies and the
scheduler has the attribute CATCHUP ON. When you change the job’s HOLD
attribute to OFF, the job runs repeatedly until the backlog clears.
HOLD { OF[F] | ON }