OSI/AS Programming Manual

APS_ACTIVITY_ENDRSP_
APS Procedure Calls
3–12 056783 Tandem Computers Incorporated
APS_ACTIVITY_ENDRSP_ This procedure allows you to acknowledge an activity end indication.
This procedure also allows you, optionally, to use basic concatenation to send a token
please request primitive along with the activity end response primitive.
status
:= APS_ACTIVITY_ENDRSP_ (
cepi
! I
,[
user-data
] ! I
,[
tag
] ! I
,[
please-tokens
] ); ! 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.
user-data
input
INT .EXT:ref:*
contains the user data you wish to send to the remote application; see
“Considerations” for the maximum amount of data you can send. You must
define the structure of the data buffer, as described in “Defining User Data
Buffers” in Section 2. For a normal-mode presentation or ACSE connection, you
must also encode the data, as described in “Encoding ACSE and Presentation User
Data” in Section 2.
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.
please-tokens
input
INT .EXT:ref:(ZAPS-DDL-TOKENS)
specifies the tokens you are requesting from the remote application in the token
please request primitive to be concatenated with the activity end response
primitive. To request tokens from the remote application, set the field values for
the requested tokens to ZAPS-VAL-TOKEN-PLEASE, and set the field values for
all other tokens to ZAPS-VAL-TOKEN-NOVALUE.