Checking the response to SEND CONFIRM
After issuing SEND [INVITE|LAST] CONFIRM, it is important to test EIBERR to determine the partner’s response.
Table 1 shows how the partner’s response is indicated by EIB flags and the conversation states.
| Command issued in reply by partner transaction | Conversation state on receipt of response | EIBERR on receipt of response | EIBFREE on receipt of response |
|---|---|---|---|
| ISSUE CONFIRMATION | dependent on original SEND [INVITE|LAST] CONFIRM request | X'00' | X'00' |
| ISSUE ERROR | receive (state 5) | X'FF' | X'00' |
| ISSUE ABEND | free (state 12) | X'FF' | X'FF' |
If EIBERR=X'00', the partner has replied ISSUE CONFIRMATION.
If the partner replies ISSUE ERROR, this is indicated by EIBERR=X'FF ' and the first two bytes of EIBERRCD = X'0889'. When the partner replies ISSUE ERROR in response to SEND LAST CONFIRM, the LAST option is ignored and the conversation is not terminated. The conversation state is switched to receive state (state 5).
If the partner replies ISSUE ABEND, your transaction will be abended AZCH. In addition, EIBERR and EIBFREE are set, and the first two bytes of EIBERRCD= X'0864'. The conversation is switched to free state .