OSI/AS Programming Manual
MFM_AWAITIOX_
Module File Management (MFM) Procedure Calls
C–4 056783 Tandem Computers Incorporated
Perform error checking as follows:
1. Immediately after the call to MFM_AWAITIOX_ , check the
filenum
returned.
2. If
filenum
is a CEPI (a value in the range -10 through -32767), then check the
status
returned by MFM_AWAITIOX_.
If
filenum
is not a CEPI, check the condition code and/or call FILEINFO
with the
filenum
returned by MFM_AWAITIOX_.
For a file-system completion, the condition code is identical to that set by
AWAITIOX. For an APS completion, the condition code has no meaning.
To get APS_STATUS_ information from an APS procedure call in nowait mode,
you must call APS_STATUS_ immediately after the call to MFM_AWAITIOX_.
Between the procedure call and the call to APS_STATUS_ , you can perform error
checking, but you cannot call any other APS procedure to invoke a primitive or
receive an event. APS_STATUS_ provides information only on the most recently
completed primitive or the most recently received event; information on earlier
primitives and events is not queued.