BACKOUT Verb Issued Locally
BACKOUT verb issued locally.
The local transaction program issues a RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAIT verb (depending on whether a basic or mapped conversation is being used) to receive data from the remote transaction program. The vendor API passes the verb transparently to Host Integration Server.
The RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAIT verb completes with the what_rcvd field of the VCB set to AP_PS_HEADER. The data buffer contains a PREPARE PS header.
Another RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAIT verb is issued by the vendor API to receive the send indication from the remote TP.
The vendor API returns the transaction program's RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAIT verb with the what_rcvd field of the VCB set to TAKE_SYNCPT.
The transaction program issues a BACKOUT verb to back out the transaction.
The vendor API generates a SEND_ERROR or MC_SEND_ERROR verb of type BACKOUT_RESYNC to send the Backout sense code 0x08240001.
The vendor API then issues a CONFIRM or MC_CONFIRM verb to flush the SEND_ERROR or MC_SEND_ERROR verb and request a response from the remote transaction program.
The CONFIRM or MC_CONFIRM verb completes when the remote transaction program issues a CONFIRMED or MC_CONFIRMED verb. The vendor API then returns the BACKOUT verb to the local transaction program.