Guardian Programming Reference Summary for pTAL and TAL
Guardian Programming Reference Summary for pTAL and TAL—522631-001
12-1
12
Completion Codes
For a more detailed description of the completion codes, refer to the Guardian 
Procedure Calls Reference Manual.
The following completion codes are reserved for Tandem use:
Completion
Code Definition
0 Normal, voluntary termination with no errors.
1 Normal, voluntary termination with WARNING diagnostics.
2 Abnormal, voluntary termination with FATAL errors or diagnostics.
3 Abnormal, voluntary, but premature termination with FATAL errors or 
diagnostics.
4 A process associated with a RUN statement never started.
5 Process calls PROCESS_STOP_ (with abnormal termination specified) or 
ABEND on itself. 
6 PROCESS_STOP_, STOP, or ABEND was called to delete a process by an 
external, but authorized, process. 
7 Restart this job.
8 Code 8 is the same as code 1 (normal termination), except that you must 
examine the listing file to determine whether the results are acceptable.
9 A OSS kill() or raise() function generated a signal that stopped the 
process.
Completion 
Code Definition
-1 A trap was detected.
-2 A process terminated itself but the operating system has a resource problem 
and cannot pass along the requested completion code and the associated 
termination information.
-3 This code is returned by the system when a process terminating itself passed 
bad parameters to PROCESS_STOP_, STOP, or ABEND. 
-4 This code is returned by the system when a processor failure caused the name 
of a process to be deleted (that is, the only process running under that name 
was in the processor that failed).
-5 A communications or resource failure occurred during the execution of one of 
the functions in the OSS exec or tdm_exec sets of functions; or an 
initialization failure of the new process occurred when it was too late for the 
exec or tdm-exec function to return an error to the caller.
-6 An OSS process terminated when it caused a hardware exception.










