Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
SYNCPT verb issued remotely.
The local TP issues a RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAITverb (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 what_rcvd = 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 SYNCPT verb.
The vendor API generates a REQUEST_COMMIT PS header and transmits it using a SEND_DATA or MC_SEND_DATA verb. If the conversation is mapped, the MC_SEND_DATA verb is issued with the data_type field of the VCB set to AP_PS_HEADER.
The vendor API then issues a RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAIT verb to give the remote TP direction to send.
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 COMMITTED PS header.
Another RECEIVE_AND_WAIT or MC_RECEIVE_AND_WAIT verb is issued to get permission to send.
A FORGET PS header is prepared and sent to the remote transaction program.
The FORGET is flushed and direction given to the remote transaction program by issuing a PREPARE_TO_RECEIVE or MC_PREPARE_TO_RECEIVE with the ptr_type field of the VCB set to AP_FLUSH.
When the PREPARE_TO_RECEIVE or MC_PREPARE_TO_RECEIVE verb completes, the vendor API returns the SYNCPT verb to the local transaction program.