Guardian Procedure Calls Reference Manual
The following parameters supply completion-code information, which consists of four items: the
completion code, a numeric field for additional termination information, a subsystem identifier in
SPI format, and an ASCII text string. These items have meaning in the call to ABEND only when a
process is stopping itself.
compl-code
input
INT:value
is the completion code to be returned to the creator process in the ABEND system message
and, for a terminating OSS process, in the OSS termination status. Specify this parameter only
if the calling process is terminating itself and you want to return a completion code value other
than the default value of 5. For a list of completion codes, see Appendix C: Completion Codes.
termination-info
input
INT:value
can be provided as an option by the calling process if it is a subsystem process that defines
Subsystem Programmatic Interface (SPI) error numbers. If supplied, this parameter must be the
SPI error number that identifies the error that caused the process to stop itself. For more
information on the SPI error numbers and subsystem IDs, see the SPI Programming Manual. If
termination-info is not specified, this field defaults to zero (0).
spi-ssid
input
INT .EXT:ref:6
is a subsystem ID (SSID) that identifies the subsystem defining termination-info. The format
and use of the SSID is described in the SPI Programming Manual.
length
input
INT:value
is the length in bytes of text. The maximum length is 80 bytes.
text
input
STRING .EXT:ref:*
is an optional string of ASCII text to be sent in the ABEND system message.
Condition Code Settings
A condition code value is returned only when a process is calling ABEND on another process and
that other process could not be terminated.
indicates that either the process-id parameter is invalid or an error occurred during termination of
the process.
< (CCL)
indicates that ABEND was successful.= (CCE)
is not returned from ABEND.> (CCG)
ABEND Procedure (Superseded by PROCESS_STOP_ Procedure) 41