OSI/AS Programming Manual
APS_RESYNCREQ_
APS Procedure Calls
3–76 056783 Tandem Computers Incorporated
APS_RESYNCREQ_ This procedure allows you to request a resynchronization, thus helping you
reestablish the context of a connection in an orderly way after a problem.
Resynchronization sets the connection to an agreed upon defined state, including the
ownership of the available tokens and the value of the next synchronization point
serial number to be used. All undelivered data is purged.
You can issue a resynchronize request regardless of the ownership of the tokens at the
time of the call. Note, however, that the resynchronize functional unit must be
available on the connection.
To set a new synchronization point when no problem has occurred, call
APS_SYNC_MAJORREQ_ or APS_SYNC_MINORREQ_ instead.
status
:= APS_RESYNCREQ_ (
cepi
! I
,
resync-type
! I
,[
sync
] ! I
,[
tokens
] ! I
,[
user-data
] ! I
,[
tag
] ); ! 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.
resync-type
input
INT:value
specifies the type of resynchronization you are requesting. For the possible values
of this parameter, see ZAPS-VAL-RESYNC-xxx in Appendix A.
sync
input
INT(32):value
is the synchronization point serial number. The
resync-type
you specify
determines the way you use this parameter, as described further under
“Considerations.” For more information about this parameter, see ZAPS-DDL-
SYNC in Appendix A.