Guardian Procedure Calls Reference Manual
Syntax for TAL Programmers
CALL ABEND ( [ process-id ] ! i
,[ stop-backup ] ! i
,[ error ] ! o
,[ compl-code ] ! i
,[ termination-info ] ! i
,[ spi-ssid ] ! i
,[ length ] ! i
,[ text ] ); ! i
Parameters
process-id
input
INT:ref:4
indicates the process that is to be stopped. The value you enter can be either:
• Omitted or zero (0), meaning "stop myself", or
• A four-word array containing the process ID of the process to be stopped, where:
Process name or creation timestamp[0:2]
Reserved.<0:3>[3]
Processor number where the process is executing.<4:7>
PIN assigned by the operating system to identify the process in the processor.<8:15>
If process-id[0:2] references a process pair and process-id[3] is specified as -1, then
both members of the process pair are stopped.
stop-backup
input
INT:value
if specified as 1, the current process' backup is stopped and ABEND is returned to the caller.
The process-id parameter is not used.
If zero (0), this parameter is ignored and the process-id parameter is used as described.
error
output
INT:ref:1
returns a file-system error number. ABEND returns a nonzero value for this parameter only
when it cannot successfully make the request to stop the designated process. If it makes the
request successfully (error is 0), the designated process might or might not be stopped
depending on the stop mode of the process and the authority of the caller. (The stop mode of
the process can be changed; hence, a stop request that has inadequate authority to stop the
process is saved by the system and might succeed at a later time.) See Considerations (page 42).
40 Guardian Procedure Calls (A-B)