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 .
  1. 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
  2. Transaction B issues a RECEIVE command which returns control immediately; EIBSYNC and EIBRECV are set, and its conversation is in syncreceive state .
  3. 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.
  4. Transaction A's ISSUE PREPARE command completes; its conversation is in syncsend state .
  5. Transaction A issues a SYNCPOINT command; the response is transmitted, and its conversation is in send state .
  6. Transaction B's SYNCPOINT command completes, and its conversation is in receive state .
This figure shows the state changes, and the EIB flags that are set, when a SYNCPOINT command is issued in response to a ISSUE PREPARE command on an APPC mapped conversation.


dfhp62r.html | Timestamp icon Last updated: Monday, 5 June 2017