MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Supressin Mq trigger during syncpoint rollback

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
tomehta
Beginner


Joined: 19 Dec 2003
Posts: 17
Topics: 5

PostPosted: Sat Aug 21, 2004 4:16 am    Post subject: Supressin Mq trigger during syncpoint rollback Reply with quote

Hi
Can we suppress the trigger to the tranasaction when a rollback is done.
I have a sitauation in which i ca'nt use backout count in the application program. but whn there is a rollback it causes a infinte loop, as the trigger is again generated.
Regards
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Aug 21, 2004 10:44 am    Post subject: Reply with quote

tomehta,


Why can't you use the BackoutCount field of MQMD? Another approach is by having your application turn triggering off after it connects to get the messages. If the process fails and the message has to be rolled back, triggering will be off. If the application is successfull, then it should turn triggering back on before it disconnects.

However remember that you have to consider that If your application dies before it can turn triggering back on, the messages will begin to pile up on the queue. If your application rolls back a bad message and triggering stays off, the whole system comes to a halt until a support person intervenes.

using the Backoutcount field is the right option.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jeba
Beginner


Joined: 02 Dec 2002
Posts: 48
Topics: 9
Location: Columbus, GA

PostPosted: Wed Sep 22, 2004 3:07 pm    Post subject: Reply with quote

Tomehta,

As Kolusu said, Using the Backout count will be the reight option.

We had similar looping problem in our application and we have solved the same using Backout count field of MQMD structure.
_________________
Thanks,
Jeba
(Known is a drop Unknown is an ocean)
Back to top
View user's profile Send private message Send e-mail
bob_buxton
Beginner


Joined: 20 Dec 2002
Posts: 44
Topics: 0
Location: Hampshire, England

PostPosted: Wed Sep 29, 2004 8:50 am    Post subject: Reply with quote

You don't explain why you can't use Backout count - it is the normal method for handling backed out messages.

A more esoteric option is to use the Mark Skip Backout option. This allows you to specify that a message is not to be immediately backed out during rollback. See the MQ APR for details.
_________________
Bob Buxton
Ex Websphere MQ for zOS development
Back to top
View user's profile Send private message
bob_buxton
Beginner


Joined: 20 Dec 2002
Posts: 44
Topics: 0
Location: Hampshire, England

PostPosted: Wed Sep 29, 2004 8:50 am    Post subject: Reply with quote

You don't explain why you can't use Backout count - it is the normal method for handling backed out messages.

A more esoteric option is to use the Mark Skip Backout option. This allows you to specify that a message is not to be immediately backed out during rollback. See the MQ APR for details.
_________________
Bob Buxton
Ex Websphere MQ for zOS development
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group