Guardian Procedure Calls Reference Manual

completion-code
input
INT:value
is the completion code to be returned in the process deletion system message and, for a
terminating OSS process, in the OSS process 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 0 (STOP) or 5 (ABEND).
A nonprivileged caller cannot pass a negative value for completion-code.
For a list of completion codes, see Appendix C: Completion Codes.
termination-info
input
INT:value
specifies the Subsystem Programmatic Interface (SPI) error number that identifies what caused
the process to stop itself. For more information on SPI error numbers and subsystem IDs, see
the SPI Programming Manual. If termination-info is not specified, the default is 0.
If termination-info is specified, spi-ssid and text:length must be supplied.
spi-ssid
input
INT .EXT:ref:6
is a subsystem ID (SSID) that identifies the subsystem defining the termination-info. The
format and use of the SSID is described in the SPI Programming Manual.
text:length
input:input
STRING .EXT:ref:*, INT:value
if present and length is not 0, is a string of ASCII text to be sent as part of the process deletion
system message. If used, the value of text must be exactly length bytes long. The maximum
length is 80 bytes.
Returned Value
INT
Unless the caller successfully stops itself, a file-system error code that indicates the outcome of the
call. See Considerations (page 1124) for information about interpreting the error codes that are
returned.
PROCESS_STOP_ Procedure 1123