OSI/AS Programming Manual

APS_ACTIVITY_INTERRUPTREQ_
APS Procedure Calls
3–16 056783 Tandem Computers Incorporated
APS_ACTIVITY_INTERRUPTREQ_
his procedure allows you to abnormally terminate the current activity, but without
canceling work completed before the interruption. Note that an interrupt request may
cause undelivered data to be lost. You can issue an activity interrupt request only if an
activity is in progress and you hold the major/activity token.
To resume work on an activity after suspending it, call
APS_ACTIVITY_RESUMEREQ_.
status
:= APS_ACTIVITY_INTERRUPTREQ_
(
cepi
! I
,[
activity-reason
] ! I
,[
tag
] ! I
,[
user-data
] ); ! I
status
returned value
INT
indicates the outcome of the call. For the possible values of ZAPS-VAL-STATUS-
xxx, see “Status Codes” in Appendix B.
cepi
input
INT:value
is the connection endpoint identifier (CEPI) for this connection.
activity-reason
input
INT:value
is the reason for your interrupt request. All values of ZAPS-VAL-ACT-xxx are
allowed; see Appendix A for the possible values.
tag
input
INT(32):value
is for use in nowait mode only. Specify a unique value to identify this instance of
the procedure call. When the operation is complete, the MFM_AWAITIOX_
procedure returns the tag value, allowing you to match the completion with the
correct instance of the procedure call.