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 Discussion » Backout Queue

Post new topic  Reply to topic Goto page Previous  1, 2
 Backout Queue « View previous topic :: View next topic » 
Author Message
sami.stormrage
PostPosted: Fri Mar 13, 2009 10:32 am    Post subject: Just some additional question relevent to this(z/os) Reply with quote

Disciple

Joined: 25 Jun 2008
Posts: 186
Location: Bangalore/Singapore

I have an application that gets triggered and under transactional control writes to a DB, but if the DB is busy, the messages are reinstated onto the Queue, starting a vicious cycle even with Trigger First. Eventually causing the application to abend.

Now there are 3 possiblities here
1) Ask the CICS programmer to read the message from the Queue (since its a reply message, or does CICS support reading message from a queue )
2) Send it to backout Queue and after that is there are method to put it back onto the Q after a delay? if this is possible do I need a job to run and reprocess the message or is there a sample program that I can use
( how is a message backedout onto a local Q, looked at by the Qmgr? is it as a new message or is there something I can do with; other than editing Qmgr Trigger Interval which is set at 6000 ms. )

3) Or make the application ignore additional Trigger messages generated.
And how can that be done?


Regards
Sami
_________________
*forgetting everything *
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Fri Mar 13, 2009 10:40 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

1) it depends if the CICS application has MQ calls in it (CICS app is MQ-aware); or is the MQ message passed via the MQ-CICS bridge to a CICS application program COMMAREA (CICS app is MQ-unaware).

2) where the message is eventually "backed out" is under you application control. MQBACK puts it back into the same queue with backout count incremented by 1. The next MQGET of the backed out message will have the backout count set up by 1. At this point, your app can decide what to do with the backed-out message (like move it some other queue, or wait 30 seconds and try to prcocess it again, whatever...). The qmgr does nothing to make this happen.

3) Applications do not use trigger messages; rather, it's the trigger monitor application that MQGETs trigger messages.

I'd be focusing on the DB delays.
_________________
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » Backout Queue
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.