OSI/AS Programming Manual
OSI Upper-Layer Concepts
APS Procedures Programming Concepts
056783 Tandem Computers Incorporated 2–13
If you interrupt or discard an activity (using APS_ACTIVITY_INTERRUPTREQ_
or APS_ACTIVITY_DISCARDREQ_), you cannot initiate other services (except for
a user abort request) until you receive the corresponding confirm event.
If you discard an activity (using APS_ACTIVITY_DISCARDREQ_), it is implied
that the content of the activity is canceled. However, this action is left up to your
application and is not controlled by the service provider.
If you end an activity (using APS_ACTIVITY_ENDREQ_), in addition to any
existing restrictions, you cannot initiate other services (except for a user abort
request, an activity interrupt request, an activity discard request, or a give token
request) until you receive the activity end confirm event.
If you receive the indication event that interrupts or discards an activity (ZAPS-
VAL-EVT-ACT-INTERRUPT-IND or ZAPS-VAL-EVT-ACT-DISCARD-IND), you
cannot initiate other services (except for a user abort request) until you call the
corresponding response procedure.
If you receive the indication event that ends an activity (ZAPS-VAL-EVT-ACT-
END-IND), in addition to any existing restrictions, you cannot initiate any of the
following requests until you call the APS_ACTIVITY_ENDRSP_ procedure:
Synchronize major request
Synchronize minor request
Activity interrupt request
Activity discard request
Activity end request
Release request
Table 2-9 summarizes the procedure calls you can use with activities. For details on
these calls, see Section 3.
Table 2-9. Summary of Activity Management Procedures
Procedure (APS_ACTIVITY_) Effect
DISCARDREQ_ End an activity (abnormally)
DISCARDRSP_ Acknowledge an activity discard indication
ENDREQ_ End an activity
ENDRSP_ Acknowledge an activity end indication
GETPARAM_ Get parameters from activity primitives or an end request
completion
INTERRUPTREQ_ Interrupt an activity
INTERRUPTRSP_ Acknowledge an activity interrupt indication
RESUMEREQ_ Resume a previously interrupted activity
STARTREQ_ Start an activity