Syncpoints in CICS for IBM i applications
IBM MQ for IBM i participates in units of work with CICSĀ®. We can use the MQI within a CICS application to put and get messages inside the current unit of work.
We can use the EXEC CICS SYNCPOINT command to establish a syncpoint that includes the IBM MQ for IBM i operations. To back out all changes up to the previous syncpoint, we can use the EXEC CICS SYNCPOINT ROLLBACK command.
If we use MQPUT, MQPUT1, or MQGET with the PMSYP, or GMSYP , option set in a CICS application, we cannot log off CICS until IBM MQ for IBM i has removed its registration as an API commitment resource. Therefore, you should commit or back out any pending put or get operations before you disconnect from the queue manager. This will allow you to log off CICS.