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 » Can I use MO71 to release stucked messages in queue?

Post new topic  Reply to topic
 Can I use MO71 to release stucked messages in queue? « View previous topic :: View next topic » 
Author Message
limaoli
PostPosted: Thu Feb 22, 2007 7:55 am    Post subject: Can I use MO71 to release stucked messages in queue? Reply with quote

Newbie

Joined: 09 Feb 2007
Posts: 6

Sometimes the trigger does not work for whatever reason. I used to use a WMQTool button to reset trigger on and off some times to release stucked messages. Can I use MO71 to do this? Is there other MQ tool able to do this? Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 22, 2007 7:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Anything that can send PCF messages or can cause mqsc commands to be executed can ALTER QUEUE(abc) NOTRIGGER followed by ALTER QUEUE(abc) TRIGGER.

You need to FIX the actual problem, though, that is causing the 'stuck' messages.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 22, 2007 8:07 am    Post subject: Re: Can I use MO71 to release stucked messages in queue? Reply with quote

Grand High Poobah

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

limaoli wrote:
Sometimes the trigger does not work for whatever reason


Is it the trigger that doesn't work, or the triggered application that sometime fails to empty the queue?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Feb 22, 2007 8:14 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

If you are using a trigger type of depth this is expected behaviour. If not then, as Jeff says, you really need to identify why triggering is getting 'switched off' rather than looking for a way of resetting manually. (Unless, of course, you are triggering on depth )
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 22, 2007 8:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If a trigger-on-first program doesn't clear the queue, then triggering is still "on", but a new trigger event won't fire for a while (default trigger interval is fairly long).

If a trigger-on-every program doesn't clear the queue... the same.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
limaoli
PostPosted: Thu Feb 22, 2007 4:24 pm    Post subject: Reply with quote

Newbie

Joined: 09 Feb 2007
Posts: 6

Where to put the command "ALTER QUEUE(abc) NOTRIGGER" and "ALTER QUEUE(abc) TRIGGER." in MO71?
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Feb 22, 2007 6:00 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

limaoli wrote:
Where to put the command "ALTER QUEUE(abc) NOTRIGGER" and "ALTER QUEUE(abc) TRIGGER." in MO71?


You don't...it genertes them when you alter the queue attributes through the panels.

If you want to use a 'batch process' for this use RUNMQSC with the commands you mentioned.

Having said that ..... What is causing the trigger to fail?...That is the question you should be asking.
Back to top
View user's profile Send private message
dfore
PostPosted: Tue Feb 27, 2007 1:56 pm    Post subject: Reply with quote

Newbie

Joined: 26 Feb 2007
Posts: 7
Location: Nashville TN

Maybe you should try the mo03 tool (qload.exe) You can move or copy the messages off the queue and move them to a different queue. Or copy them into a text file ... etc... It's pretty sweet.
_________________
Thank You,

Dean Fore
Sr. WebSphere MQ Administrator
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 » Can I use MO71 to release stucked messages in 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.