How to synchronize conversations using CONFIRM commands
A confirmation exchange affects a single, specified, conversation and involves two commands.
- The transaction that is in send state (state 2) issues a GDS SEND CONFIRM command causing a request for confirmation to be sent to the partner transaction. The transaction is suspended awaiting a response.
- The partner transaction receives a request for confirmation. It can then respond positively by issuing a GDS ISSUE CONFIRMATION command. Alternatively, it can respond negatively by using the GDS ISSUE ERROR or GDS ISSUE ABEND commands.