Posted: Fri May 06, 2011 2:45 am Post subject: MQ COMMIT but DB2 ROLLBACK in CICS - Doubts
Newbie
Joined: 27 Feb 2011 Posts: 3
Hi,
I have MQ triggered CICS application which also updates DB2 tables . My requirment is that if there is some problem in the data then the DB2 updates need to be rolled back but the message needs to be deleted . I found in IBM that this can be achieved by using MQGMO_MARK_SKIP_BACKOUT and MQGMO_SYNCPOINT in MQGET options . However it also says that I need to perform a MQ operation(like MQPUT) in between the Rollbackof UOW1 and the commit of UOW2 . I dont have a req to put anything to the MQ . So in this case what other MQ operation I can use ? Is there any way of avoiding the MQ operation in between the ROLLBACK and COMMIT ?
Posted: Fri May 06, 2011 5:15 am Post subject: Re: MQ COMMIT but DB2 ROLLBACK in CICS - Doubts
Poobah
Joined: 15 May 2001 Posts: 7722
Sandeepan wrote:
...but the message needs to be deleted.
So if you don't rollback the message to the queue in this scenario, do you ever want to rollback the message to the queue? If not, just use the No Syncpoint option on your MQGET and be done. _________________ Peter Potkay
Keep Calm and MQ On
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum