ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQ COMMIT but DB2 ROLLBACK in CICS - Doubts

Post new topic  Reply to topic
 MQ COMMIT but DB2 ROLLBACK in CICS - Doubts « View previous topic :: View next topic » 
Author Message
Sandeepan
PostPosted: Fri May 06, 2011 2:45 am    Post subject: MQ COMMIT but DB2 ROLLBACK in CICS - Doubts Reply with quote

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 ?

Cheers
Sandeep
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri May 06, 2011 5:15 am    Post subject: Re: MQ COMMIT but DB2 ROLLBACK in CICS - Doubts Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQ COMMIT but DB2 ROLLBACK in CICS - Doubts
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.