|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Mark Skip Backout RollBack |
« View previous topic :: View next topic » |
Author |
Message
|
CharlieChen |
Posted: Sun Jul 22, 2012 11:44 pm Post subject: Mark Skip Backout RollBack |
|
|
Novice
Joined: 24 Jun 2012 Posts: 15
|
I'm testing Mark Skip Backout. In some scenario, I will roll back the skipped backout message. I notice that the backout count increase by 2 counts instead of 1.
Want to check if this is the correct behaviour ?
If it is, does it mean that during the 2nd UOW, instead of just starting a 2nd UOW, MQ actually puts back the message and retrieve it again ?
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jul 24, 2012 6:21 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
I'm a bit confused by your OP.
One message in a UofW can have MARK_SKIP_BACKOUT. At MQBACK, this one message will NOT be backed out - and the backout count for this message will not be incremented.
So, I'm guessing that you have other messages that have been consumed in the same UofW, and those messages have their backout count incremented by 1. This is the expected behavior.
Are you saying that when you MQPUT the MARK_SKIP_BACKOUT message in another UofW (since the first UofW ended with MQBACK), that the backout count increments by 2? It should increment by 1.
Where did you MQPUT the MARK_SKIP_BACKOUT message? To the exact same queue from where it was MQGET? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
CharlieChen |
Posted: Tue Jul 24, 2012 6:47 am Post subject: |
|
|
Novice
Joined: 24 Jun 2012 Posts: 15
|
I put the MARK_SKIP_BACKOUT in the reply2queue (not the GET queue)
Here's the steps:
1. MQGet the request message. THe backout count is 0
2. EXEC CICS LINK to a program. The program is disabled to cause an abend.
3. Handle Abend takes over
4. Abend handler issues a EXEC CICS SYNCPOINT ROLLBACK to rollback the other resources updated. In this case, it's a recoverable TS queue.
5. MQSeries will start a 2nd UOW
6. In the 2nd UOW, the message is rollback (there is no MQSeries API issued between the abend and the rollback)
7. The message is retrieved from the queue again. The backout count is now 2.
To elaborate further, in writing to the TSQ, I actually write to 2 TSQ. One is recoverable and one is not recoverable. I see that the recoverable TSQ has no message while the non-recoverable has messages. This test i to ensure that the Rollback did happen.
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jul 24, 2012 7:10 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jul 24, 2012 7:25 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Moved to Mainframe forum. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
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
|
|
|
|