|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ROLLBACK MESSAGE ON MQ |
« View previous topic :: View next topic » |
Author |
Message
|
anshuljain26 |
Posted: Mon Aug 01, 2011 12:20 pm Post subject: ROLLBACK MESSAGE ON MQ |
|
|
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 |
|
 |
mvic |
Posted: Mon Aug 01, 2011 12:29 pm Post subject: Re: ROLLBACK MESSAGE ON MQ |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Was the MQGMO_SYNCPOINT option included in your Get Message Options? |
|
Back to top |
|
 |
anshuljain26 |
Posted: Mon Aug 01, 2011 12:32 pm Post subject: |
|
|
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 |
|
 |
anshuljain26 |
Posted: Mon Aug 01, 2011 12:53 pm Post subject: |
|
|
Newbie
Joined: 01 Aug 2011 Posts: 3
|
MQGMO_SYNCPOINT is used while issuing GET. What now? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 01, 2011 2:27 pm Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Tue Aug 02, 2011 12:33 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|