Guardian Procedure Calls Reference Manual

ABEND Procedure (Superseded by PROCESS_STOP_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
NetBatch Considerations
OSS Considerations
Messages
Examples
Related Programming Manual
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
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' creator.
When this procedure is used to delete an OSS process, a SIGCHILD 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. For more information about the process access
ID, see the PROCESSACCESSID procedure Considerations (page 1131) and the Guardian
Programmer's Guide.
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 previous software.
ABEND Procedure (Superseded by PROCESS_STOP_ Procedure) 39