OSI/AS Programming Manual

Releasing a Connection
APS Procedures Programming Concepts
056783 Tandem Computers Incorporated 2–55
3. When you have received an event, call APS_STATUS_ to find out which event it is.
APS_STATUS_ also returns additional relevant information for presentation and
ACSE connections; see the description of APS_STATUS_ in Section 3 for details.
4. For an ACSE connection, if the event code is ZAPS-VAL-EVT-U-ABORT-IND, you
have received either a remote user abort or a provider abort from ACSE. If you get
the ZAPS-VAL-EVT-U-ABORT-IND event, call APS_ASSOC_GETPARAM_ to get
the value of
abort-source
, which identifies whether a provider abort or a
remote user abort has occurred.
5. To obtain any data the remote user has sent with the abort, call
APS_DATA_GETPARAM_.
6. To discard the connection context information and release the CEPI, call
APS_DISCARD_.
7. Finally, if you are using a static subdevice and do not want to reuse it, call the
APS_SUBDEVICE_DISCARD_ procedure.