OSI/AS Programming Manual
APS_ASSOC_GETPARAM_
APS Procedure Calls
3–50 056783 Tandem Computers Incorporated
Considerations
Because this procedure does not perform any file-system I/O operations, the
request is always completed immediately after the procedure call. Even in nowait
mode, do not call MFM_AWAITIOX_ to complete this procedure.
To retrieve parameters with this procedure, you must have either received the
completion of a call to APS_ASSOC_CONNECTREQ_ or APS_ASSOC_ATTACH_
or done both of the following:
Called APS_EVENT_RECEIVE_ for this CEPI
Received one of the primitives listed at the beginning of this procedure
definition
Note that the parameters for this CEPI are cleared when you next call either
APS_EVENT_RECEIVE_ or an APS procedure that initiates a file-system I/O
operation on this connection. Table 2-11 in Section 2 shows which procedures
initiate I/O operations.
If
mode
is set to ZAPS-VAL-MODE-X410-1984, all other parameters specific to
presentation and ACSE connections are ignored, and no encoding or decoding of
user data is performed.
The
session-rqmnts
parameter structure consists of functional units and
tokens, as described under ZAPS-DDL-L5-RQMNTS in Appendix A.
After you have received a connect indication or a connect confirm primitive,
functional units can have the following values :
ZAPS-VAL-TRUE Functional unit is requested by remote application.
ZAPS-VAL-FALSE Functional unit is not requested by remote application.
Note The session service does not directly tell you which functional units will be in use on a connection.
Whether you are the calling or the responding user, you must always calculate the result of the
negotiations yourself.
For a functional unit to be used on the connection, it must be requested by both sides. The responding
application can request functional units that the calling application omitted. The service provider cannot
accept such requests, but it does pass them on (for information purposes only) to the calling application.
You can assign tokens the following values:
After you have received a connect indication primitive:
ZAPS-VAL-TOKEN-ACCEPTOR-CHOICE
ZAPS-VAL-TOKEN-NOTAVAILABLE
ZAPS-VAL-TOKEN-NOTOWNED
ZAPS-VAL-TOKEN-OWNED