NetBatch Manual

Attributes
NetBatch Manual522460-004
7-103
STALL Job Attribute
ON
causes the scheduler to put the job in the SPECIAL-9 state if the job fails and
either of these conditions exists. (This action depends on the values of the job’s
IFFAILS, RESTART, and STOP-ON-ABEND attributes.)
The job is recurrent, and the scheduler would otherwise reschedule it.
The job is nonrecurrent, and the scheduler would otherwise delete it.
Considerations
A job submitted without the STALL attribute adopts the DEFAULT-STALL
scheduler attribute. To display the value of this attribute, use the INFO
SCHEDULER command.
For help when setting the IFFAILS, RESTART, STALL, and STOP-ON-ABEND
attributes, see the decision chart in Section 4, Job Planning, Submission, and
Management.
Example
This example shows the effect of the STALL attribute on two recurrent jobs whose
executor programs abend. The jobs have the same IFFAILS, RESTART, and STOP-
ON-ABEND attributes, but different STALL attributes. Job X has the STALL OFF
attribute, so the scheduler puts the job in the TIME state after failure. Job Y has the
STALL ON attribute, which causes the scheduler to put the job in the SPECIAL-9 state
after failure.
> TIME
October 13, 1993 12:37:55
> FUP COPY DELAY05
DELAY 5 MINS
> BATCHCOM $ZBAT; SUBMIT JOB X, IN DELAY05, EVERY 1 DAYS,
IFFAILS ON, RESTART OFF, STOP-ON-ABEND ON, STALL OFF
Job X job number 380 submitted
> BATCHCOM $ZBAT; SUBMIT JOB Y, LIKE X, STALL ON
Job Y job number 381 submitted
> BATCHCOM $ZBAT; STATUS JOB *
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
380 X 205,70 30 EXECUTING DEFAULT
381 Y 205,70 32 EXECUTING DEFAULT
> STATUS *, GMOMJOBID $ZBAT.380
Process … Program file Hometerm
$Z075 … $SYSTEM.SYS00.TACL $ZBAT
… $SYSTEM.SYS00.DELAY $ZBAT
> STATUS *, GMOMJOBID $ZBAT.381
Process … Program file Hometerm
… $SYSTEM.SYS00.DELAY $ZBAT
$Z076 … $SYSTEM.SYS00.TACL $ZBAT
> STOP $Z075