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 » User exception roll back

Post new topic  Reply to topic
 User exception roll back « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Tue Sep 08, 2015 7:06 am    Post subject: User exception roll back Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Hi all,

I'm generating an exception within a compute node (THROW USER EXCEPTION), before that, a stored procedure have executed successfully. I have not any Failure or Catch terminal wired in the flow... How can I tell the compute node to roll back the changes if a user exception is detected?

Thanks in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 08, 2015 7:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Catch the exception in your ESQL code and issue a rollback.

Work with the transaction mode on your Compute node and make sure you know when that causes rollbacks.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
nelson
PostPosted: Tue Sep 08, 2015 11:15 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

There was a commit within one of the SPs... so, removed this commit and now it is working as desired.

Thanks a lot.
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 » User exception roll back
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.