OSI/AS Programming Manual

APS_SYNC_GETPARAM_
APS Procedure Calls
3–88 056783 Tandem Computers Incorporated
APS_SYNC_GETPARAM_ This procedure allows you to obtain the parameters received with one of the following
primitives:
Provider exception report indication
Resynchronize indication
Resynchronize confirm
Synchronize major indication
Synchronize minor indication
Synchronize minor confirm
Token give indication
Token please indication
User exception report indication
Call this procedure when the
event-code
parameter of APS_STATUS_ informs you
that one of these primitives has been received.
APS_SYNC_GETPARAM_ also provides synchronization point serial number
information following the completion of an APS_SYNC_MAJORREQ_ or
APS_SYNC_MINORREQ_ procedure.
error
:= APS_SYNC_GETPARAM_ (
cepi
! I
,[
sync
] ! O
,[
tokens
] ! O
,[
resync-type
] ! O
,[
exception-reason
] ); ! 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.
sync
output
INT(32) .EXT:ref:1
is the relevant synchronization point serial number. This parameter is available
after you have received any of the synchronize and resynchronize primitives listed
at the beginning of this procedure description. For a resynchronize indication
with a
resync-type
of ZAPS-VAL-RESYNC-SET, you can reject the
sync
value
you have received. To do this, specify a different value of
sync
in the
APS_RESYNCRSP_ procedure.