6100 ADCCP Programming Manual

Application Tasks
Writing Applications that Use ADCCP
4–10 069225 Tandem Computers Incorporated
CALL AWAITIO (
filenum
)
! i,o
filenum
input,output
INT:ref:1
is the number of an open file if the AWAITIO call is to apply to a particular file.
If the AWAITIO call is to apply to any file that your application process currently
has open, filenum is -1. AWAITIO returns into filenum the file number associated
with the completed operation.
ABEND Procedure
The ABEND procedure deletes a process or a process pair and signals that the deletion
was caused by an abnormal condition. (That is, an ABEND system message is sent to
the creator of the deleted process.)
A process can use ABEND to:
Delete itself
Delete its own backup
Delete another process
The caller of ABEND 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, or be the
super ID.
When ABEND executes, all open files associated with the deleted processes are
automatically closed.
CALL ABEND
All parameters for the ABEND procedure are optional. Refer to the System
Procedure Calls Reference Manual for a detailed description of this procedure.