SYNCPOINT in response to ISSUE PREPARE
In an APPC mapped conversation , a transaction issues an ISSUE PREPARE command and its partner responds with a SYNCPOINT command.
Figure 1
illustrates a SYNCPOINT command being
used in response to ISSUE PREPARE on an APPC mapped conversation. The
figure
also shows the conversation state before each command and the state and
EIB
fields set after each command.
Note that it is also possible to use an ISSUE PREPARE command in pendreceive state (state 3) and pendfree state (state 4).
Note also that, although the ISSUE PREPARE command in
Figure 1
returns
with the conversation in
syncsend state
(state 10), the only
commands available for use on that conversation are SYNCPOINT and SYNCPOINT
ROLLBACK. All other commands abend ATCV.
Figure 1. SYNCPOINT
in response to ISSUE PREPARE on an APPC mapped conversation. 
In
this figure, transaction A is communicating with transaction B using
an APPC
mapped conversation. Initially, transaction A's conversation with B is
in
send
state
, and transaction B's conversation with A is in
receive
state
.
- Transaction A issues an ISSUE PREPARE command; the prepare request is transmitted, and the transaction is suspended until a syncpoint request is received from transaction B
- Transaction B issues a RECEIVE command which returns control immediately; EIBSYNC and EIBRECV are set, and its conversation is in syncreceive state .
- Transaction B issues a SYNCPOINT command; the syncpoint request is transmitted, and the transaction is suspended until the syncpoint response is received from transaction A.
- Transaction A's ISSUE PREPARE command completes; its conversation is in syncsend state .
- Transaction A issues a SYNCPOINT command; the response is transmitted, and its conversation is in send state .
- Transaction B's SYNCPOINT command completes, and its conversation is in receive state .
