NetBatch-Plus Reference Manual
NetBatch-Plus Screens
NetBatch-Plus Reference Manual—522461-002
6-113
Field Descriptions
Stop On Abend
Use the Stop On Abend field to set the STOP-ON-ABEND job attribute. The attribute
specifies whether a job is stopped automatically if any process started by it terminates
because of CPU failure, abends with any completion code, or stops with completion
code -3, -2, -1, 2, 3, 4, 5, or 6. The field options are:
If you submit a job without specifying its STOP-ON-ABEND attribute, the job adopts
the DEFAULT-STOP-ON-ABEND scheduler attribute. To display this scheduler
attribute, use the Scheduler Info screen.
A process that terminates, abends, or stops does not stop a job with the STOP-ON-
ABEND ON attribute if the process was dissociated from the job by the run option
JOBID. For information on dissociating processes from jobs, see the NetBatch User’s
Guide.
Both processes of a process pair must cease to exist before the STOP-ON-ABEND
attribute takes effect.
Table 6-4 lists the completion codes causing a job to stop. For more information on
completion codes, see the Guardian Procedure Calls Reference Manual.
Y Yes specifies that any user can submit the job on the Ad Hoc Job Selection screen.
N No specifies that only the owner can submit the job on the Ad Hoc Job Selection
screen. Other users can submit the job but only if they validate the owner’s Guardian
user ID before selecting the job.
Y Yes specifies the attribute STOP-ON-ABEND ON. The job is stopped as soon as any
process started by it terminates, abends, or stops for the reasons listed previously.
Processes already started by the job is also stopped.
Caution. If your TACL version is earlier than T9205C20 AAJ, the executor program process
might start new processes before the scheduler receives the terminate, abend, or stop
message. To prevent new processes from starting in these circumstances, test the completion
code of each process before starting the next process.
N No specifies the attribute STOP-ON-ABEND OFF. The job continues processing when
a process terminates, abends, or stops.
Table 6-4. Completion Codes Recognized by STOP-ON-ABEND Job Attribute
Code Description
-3 The process terminated itself but passed bad parameters to STOP or ABEND.
-2 The process terminated itself. The Guardian operating system could not pass the
requested completion code and associated termination information because of a
Guardian resource problem.
-1 TRAP detected.
2 Abnormal, voluntary termination with fatal errors or diagnostics.
3 Abnormal, voluntary but premature termination with fatal errors or diagnostics.