WebSphere MQ for iSeries participates in CICS for iSeries units of work. You can use the MQI within a CICS for iSeries application to put and get messages inside the current unit of work.
You can use the EXEC CICS SYNCPOINT command to establish a syncpoint that includes the WebSphere MQ for iSeries operations. To back out all changes up to the previous syncpoint, you can use the EXEC CICS SYNCPOINT ROLLBACK command.
If you use MQPUT, MQPUT1, or MQGET with the MQPMO_SYNCPOINT, or MQGMO_SYNCPOINT, option set in a CICS for iSeries application, you cannot log off CICS for iSeries until WebSphere MQ for iSeries 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 for iSeries.