OSI/AS Programming Manual

APS_ACTIVITY_GETPARAM_
APS Procedure Calls
3–14 056783 Tandem Computers Incorporated
APS_ACTIVITY_GETPARAM_
This procedure makes the parameters of one of the following primitives available to
you:
Activity discard indication
Activity discard confirm
Activity end indication
Activity interrupt indication
Activity resume indication
Activity start indication
Call this procedure when the
event-code
parameter of APS_STATUS_ tells you that
one of these primitives has been received.
This procedure also provides synchronization point serial number information
following the completion of an APS_ACTIVITY_ENDREQ_ procedure.
error
:= APS_ACTIVITY_GETPARAM_ (
cepi
! I
,[
activity-id
] ! O
,[
activity-reason
] ! O
,[
sync
] ! O
,[
old-conid
] ! O
,[
old-activity-id
] );! O
error
returned value
INT
indicates the outcome of the call. For the possible values of ZAPS-ERR-xxx, see
“Error Codes” in Appendix B.
cepi
input
INT:value
is the connection endpoint identifier (CEPI) for this connection.
activity-id
output
INT .EXT:ref:(ZAPS-DDL-ACTIVITY-ID)
identifies the current activity for this connection.
activity-reason
output
INT .EXT:ref:1
is the reason for an activity interrupt or discard. This parameter applies only after
you have received an activity interrupt indication primitive or an activity discard
indication primitive. For the possible values of this parameter, see ZAPS-VAL-
ACT-xxx in Appendix A.