Receiving and replying to a confirmation request
On receipt of a confirmation request, the CONVDATA and conversation state will be set depending on the request issued by the partner transaction.
The CONVDATA and conversation state, together with the contents of the CDBCONF, CDBRECV, and CDBFREE fields are shown in Table 1.
| Command issued by partner transaction | Conversation state on receipt of request | CDB- CONF on receipt of request | CDB- RECV on receipt of request | CDB- FREE on receipt of request |
|---|---|---|---|---|
| GDS SEND CONFIRM | confreceive (state 6) | X'FF' | X'FF' | X'00' |
| GDS SEND INVITE CONFIRM | confsend (state 7) | X'FF' | X'00' | X'00' |
| GDS SEND LAST CONFIRM | conffree (state 8) | X'FF' | X'00' | X'FF' |
There are three ways of replying:
- Reply positively with a GDS ISSUE CONFIRMATION command.
- Reply negatively with a GDS ISSUE ERROR command. This reply puts the conversation into send state (state 2) regardless of the partner transaction request.
- Abnormally end the conversation with a GDS ISSUE ABEND command. This makes the conversation unusable and a GDS FREE command must be issued immediately.