Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (A-B)
Guardian Procedure Calls Reference Manual—522629-013
2-2
ABEND Procedure
(Superseded by PROCESS_STOP_ Procedure )
ABEND Procedure
(Superseded by PROCESS_STOP_ Procedure
)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
NetBatch Considerations
Messages
OSS Considerations
Examples
Related Programming Manual
Summary
The ABEND procedure deletes a process or process pair and signals that the deletion
was caused by an abnormal condition. When this procedure is used to delete a
Guardian process or an Open System Services (OSS) process, an ABEND system
message is sent to the deleted process’s creator. When this procedure is used to
delete an OSS process, a
SIGCHLD signal and the OSS process termination status are
sent to the OSS parent process.
A process can use ABEND to:
•
Delete itself
•
Delete its own backup
•
Delete another process
When the ABEND procedure is used to delete a Guardian process, the caller must
either have the same process access ID as the process it is attempting to abend, be
the group manager of the process access ID (255,255), or be the super ID. Refer to
“Considerations” for the PROCESSACCESSID procedure and to the
Guardian
Programmer’s Guidefor a description of the process access ID.
When ABEND is used on an OSS process, the same security rules apply as for the
OSS
kill() function.
When ABEND executes, all open files associated with the deleted process are
automatically closed. If a process had BREAK enabled, BREAK is disabled.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.