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 » WebSphere Message Broker (ACE) Support » Transaction COMMIT and ROLLBACK usage not rolling back DB2

Post new topic  Reply to topic
 Transaction COMMIT and ROLLBACK usage not rolling back DB2 « View previous topic :: View next topic » 
Author Message
wyatt
PostPosted: Mon Oct 31, 2011 5:12 am    Post subject: Transaction COMMIT and ROLLBACK usage not rolling back DB2 Reply with quote

Voyager

Joined: 28 Nov 2004
Posts: 76

Using WMB 6.1.0.9 on AIX with DB2. When the queue manager/application throws an MQW102 '2003' error in the final MQ output node of the message flow - the DB transaction is not getting rolled back.

The message flow processing is as follows:

timer node->compute node 1->MQ Get Node->compute Node 2 (updates DB2)->MQ OutputNode.

Compute Node 1 includes a while loop that issues a "COMMIT" after processing each message retrieved from the MQGet node. If the output node fails to write the message the output queue, a "ROLLBACK" is issued and the DB changes are indeed rolled back.

When the queue manager issues a MQRC 2003 on the MQ OutputNode; the DB update is not rolled back. Note, if the output queue is not defined and the msgflow is unable to write the message to the MQ OutputNode - the DB change is rolled back. The same behavior is observed if a "THROW" is added to the flow to force an exception. So it would seem the transactional parameters are set correctly - but does not work as expected when a MQRC 2003 is issued.

Any suggestions on what else should be considered to solve this issue; again, this behavior only occurs when there is a '2003' error - which is extremely infrequent. MQRC_BACKED_OUT

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Oct 31, 2011 5:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ac20802_.htm

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ak20700_.htm
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 » WebSphere Message Broker (ACE) Support » Transaction COMMIT and ROLLBACK usage not rolling back DB2
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.