OSI/AS Programming Manual
APS_SYNC_MAJORREQ_
APS Procedure Calls
3–92 056783 Tandem Computers Incorporated
procedure returns the tag value, allowing you to match the completion with the
correct instance of the procedure call.
give-tokens
input
INT .EXT:ref:(ZAPS-DDL-TOKENS)
specifies the tokens you are giving to the remote application in the token give
request primitive to be concatenated with the synchronize major request primitive.
To give tokens to the remote application, set the field values for the tokens you are
giving to ZAPS-VAL-TOKEN-GIVE, and set the field values for all other tokens to
ZAPS-VAL-TOKEN-NOVALUE.
Considerations
The maximum amount of user data you can send with this primitive depends on
the layer of your connection, whether you are using session version 1 or session
version 2, and (for presentation and ACSE connections) whether your connection
is in normal mode or X.410-1984 mode. The maximum length of the
user-data
parameter is as follows:
Session version 1 Session version 2
Session connection 512 bytes 10240 bytes
Presentation connection (normal mode) <512 bytes < 10240 bytes
ACSE connection (normal mode) <512 bytes < 10240 bytes
For a normal-mode presentation or ACSE connection, you can send as much data
as will fit in a 512-byte PPDU (for session version 1) or a 10240-byte PPDU (for
session version 2); the maximum length depends on the encoding.
For a presentation or ACSE connection in X.410-1984 mode, the maximum amount
of data is the same as that for a session connection.
This procedure causes a new synchronization point serial number to be used on
the connection. To retrieve the new serial number, call APS_SYNC_GETPARAM_
with the
sync
parameter after the APS_SYNC_MAJORREQ_ procedure has
completed. The synchronization point serial number is in the range 0 through
999998.
A major synchronize request also confirms all previously unconfirmed minor
synchronization points, provided that you have passed the minor synchronize
token and, if necessary, the major/activity token, to the remote application.
After you have invoked the synchronize major request primitive, and before you
receive the confirm, you cannot call any APS procedure that invokes a primitive
except the following:
APS_ACTIVITY_DISCARDREQ_
APS_ACTIVITY_INTERRUPTREQ_
APS_ASSOC_ABORTREQ_
APS_RESYNCREQ_
APS_TOKEN_GIVEREQ_