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 » General IBM MQ Support » ROLLBACK MESSAGE ON MQ

Post new topic  Reply to topic
 ROLLBACK MESSAGE ON MQ « View previous topic :: View next topic » 
Author Message
anshuljain26
PostPosted: Mon Aug 01, 2011 12:20 pm    Post subject: ROLLBACK MESSAGE ON MQ Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 3

Hi,

To fix a issue, in our application, we require an MQ rollback. Following is the scenario:

1)Program A puts message on MQ ABC.
2)MQ ABC, has trigger Y, so it invokes a transaction XX which further invokes a program B.
3)Program B is invoked in MQ region which further invokes a program C in ZZ region i.e. in AOR
4)Now, for a condition i want to rollback the changes and put the same message on MQ, that program C recieved via B, and B through MQ so that when Rollback is issued message on MQ ABC is there.

Way I am trying:
I am issuing EXEC CICS ROLLBACK END-EXEC.

This definitely rollback the DB2 changes and CICS changes, but the message from MQ ABC was consumed.

What i dont want to try:

Definitely, we can write the same message back on MQ from prog C, but that's the last option we have kept with us, coz that will require lot of access and permissions.


Could you please help me.

I am sorry for such a long message but thought of describing the situation completely. Please let me know in case any further information is required.

Thanks.

Anshul
Back to top
View user's profile Send private message Send e-mail
mvic
PostPosted: Mon Aug 01, 2011 12:29 pm    Post subject: Re: ROLLBACK MESSAGE ON MQ Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Was the MQGMO_SYNCPOINT option included in your Get Message Options?
Back to top
View user's profile Send private message
anshuljain26
PostPosted: Mon Aug 01, 2011 12:32 pm    Post subject: Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 3

I can confirm the same, once I am logged in. That will take another 8 hours. Apologies.

between, what are the possibilities if we go with IF & else clause here?

Thanks.
Back to top
View user's profile Send private message Send e-mail
anshuljain26
PostPosted: Mon Aug 01, 2011 12:53 pm    Post subject: Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 3

MQGMO_SYNCPOINT is used while issuing GET. What now?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Aug 01, 2011 2:27 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You can only rollback on the queue manager associated with that region
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Aug 02, 2011 12:33 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If program B consumed the message - it's gone from the queue.

How does B pass the message to C?
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 » General IBM MQ Support » ROLLBACK MESSAGE ON MQ
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.