Sync point calls

Use this information to find out about sync point calls on different platforms.

Sync point calls are available as follows:


IBM MQ for z/OS calls

IBM MQ for z/OS provides the MQCMIT and MQBACK calls.

Use these calls in z/OS batch programs to tell the queue manager that all the MQGET and MQPUT operations since the last sync point are to be made permanent (committed) or are to be backed out. To commit and back out changes in other environments:

    CICS
    Use commands such as EXEC CICS SYNCPOINT and EXEC CICS SYNCPOINT ROLLBACK.

    IMS
    Use the IMS sync point facilities, such as the GU (get unique) to the IOPCB, CHKP (checkpoint), and ROLB (rollback) calls.

    RRS
    Use MQCMIT and MQBACK or SRRCMIT and SRRBACK as appropriate. (See Transaction management and recoverable resource manager services.) Note: SRRCMIT and SRRBACK are native RRS commands, they are not MQI calls.


IBM i calls

IBM MQ for IBM i provides the MQCMIT and MQBACK commands. We can also use the IBM i COMMIT and ROLLBACK commands, or any other commands or calls that initiate the IBM i commitment control facilities (for example, EXEC CICS SYNCPOINT).


IBM MQ calls on Windows, UNIX and Linux platforms

The following products provide the MQCMIT and MQBACK calls:

  • IBM MQ for Windows
  • IBM MQ on UNIX and Linux systems

Use sync point calls in programs to tell the queue manager that all the MQGET and MQPUT operations since the last sync point are to be made permanent (committed) or are to be backed out. To commit and back out changes in the CICS environment, use commands such as EXEC CICS SYNCPOINT and EXEC CICS SYNCPOINT ROLLBACK.

Parent topic: The Message Queue Interface overview