NetBatch Management Programming Manual

Common Definitions
NetBatch Management Programming Manual522462-003
4-14
Private Token and Field Types
ZBAT-DDL-COMPLETION-CODE
is an enumerated value that indicates the completion code set by a job’s executor-
program process when the process calls the Guardian procedure ABEND, STOP,
or PROCESS_STOP_. ZBAT-DDL-COMPLETION-CODE has this structure:
ZBAT-DDL-DEF-CLASS
defines ZBAT-MAP-DEF-CLASS, an extensible structured token that contains
information about a class. For the structure of ZBAT-DDL-DEF-CLASS, see the
description of ZBAT-MAP-DEF-CLASS in Extensible Structured Tokens on
page 4-49.
ZBAT-DDL-DEF-CRONTAB
defines ZBAT-MAP-DEF-CRONTAB, an extensible structured token that contains
scheduling information about a recurring job. For the structure of ZBAT-DDL-DEF-
CRONTAB, see the description of ZBAT-MAP-DEF-CRONTAB in Extensible
Structured Tokens on page 4-49.
ZBAT-DDL-DEF-EXECUTOR
defines ZBAT-MAP-DEF-EXECUTOR, an extensible structured token that contains
information about an executor. For the structure of ZBAT-DDL-DEF-EXECUTOR,
see the description of ZBAT-MAP-DEF-EXECUTOR in Extensible Structured
Tokens on page 4-49.
Definition ZBAT-DDL-COMPLETION-CODE
Begin
Type Enum
AS "Unknown".
89 ZBAT-ENM-CC-M3 Value is -3
As "Process terminated; Invalid
params in STOP/ABEND".
89 ZBAT-ENM-CC-M2 Value is -2
As "Process terminated;
Guardian unable to pass CC".
89 ZBAT-ENM-CC-M1 Value is -1
As "-1 TRAP detected".
89 ZBAT-ENM-CC-0 Value is 0
As "Normal termination".
89 ZBAT-ENM-CC-1 Value is 1
As "Terminated with warning".
89 ZBAT-ENM-CC-2 Value is 2
As "Terminated with fatal
errors".
89 ZBAT-ENM-CC-3 Value is 3
As "Premature termination with
fatal errors".
89 ZBAT-ENM-CC-4 Value is 4
As "Process never started".
89 ZBAT-ENM-CC-5 Value is 5
As "Process calls abend".
89 ZBAT-ENM-CC-6 Value is 6
As "STOP/ABEND issued by an
external process".
89 ZBAT-ENM-CC-7 Value is 7
As "Job requests restart".
End