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 » 4070

Post new topic  Reply to topic
 4070 « View previous topic :: View next topic » 
Author Message
Hema30
PostPosted: Wed May 05, 2004 11:38 am    Post subject: 4070 Reply with quote

Acolyte

Joined: 02 Aug 2003
Posts: 59

I am trying to clear the messages on DLQ.I get the following message.

"AMQ4070 Object is open. An attempt was made to delete or change an object that was in use. Wait until the object is not in use and retry. "

How do i know which application is keeping the queue open?
and how can i clear the messages.

Thanks
Hema
Back to top
View user's profile Send private message
Hema30
PostPosted: Wed May 05, 2004 11:44 am    Post subject: 2080 Reply with quote

Acolyte

Joined: 02 Aug 2003
Posts: 59

To add to the above problem when i issue amqsget it gives me a erroe 2080.
Back to top
View user's profile Send private message
offshore
PostPosted: Wed May 05, 2004 12:19 pm    Post subject: Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

Hema,

Assuming you have MQ 5.3

Issue MQSC Command:
DIS QSTATUS(qname) TYPE(HANDLE) ALL
Back to top
View user's profile Send private message Send e-mail
Hema30
PostPosted: Wed May 05, 2004 12:30 pm    Post subject: hi Reply with quote

Acolyte

Joined: 02 Aug 2003
Posts: 59

yes the process runmqtrm.exe is using .Can i stop it and clear the queue?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 05, 2004 12:31 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That's a trigger monitor.

If you stop that process, your triggered applications won't get triggered.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Hema30
PostPosted: Wed May 05, 2004 12:33 pm    Post subject: hi Reply with quote

Acolyte

Joined: 02 Aug 2003
Posts: 59

I know.I mean for a quick second can i stop and clear the messages from the DLQ and start it back???
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed May 05, 2004 1:35 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
the process runmqtrm.exe is using

Errr. Shouldn't the Trigger Monitor be listening to an Initiation Queue, not the DLQ.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 05, 2004 2:33 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

EddieA wrote:
Quote:
the process runmqtrm.exe is using

Errr. Shouldn't the Trigger Monitor be listening to an Initiation Queue, not the DLQ.

Cheers,


Listening, yes. But if there's an issue with the triggered application (like "it can't be started"), then runmqtrm will open the DLQ for *output*, and write the trigger messages there.

The answer to whether or not a trigger monitor can be stopped briefly, and then started again is "It Depends."

The answer to "If I stop runmqtrm, will it free up the DLQ so I can clear it" should be "Yes".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu May 06, 2004 7:17 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Clearing queues using the Clear Queue command is a royal pain. I prefer to use apps that just destructivly MQGET all the message. The only thing that stops this method is if the queue is opened with the EXCLUSIVE option for Input. All other cases, you can clear the messages regardless of who/what has it.

For clearing ALL messages, I use this support pac, which among other things allows you to MQGET on a queue until 2033, effectivly clearing the queue.
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000918&loc=en_US&cs=utf-8&lang=en


If I need to pick and choose which message to delete, like maybe only the 1st 1000, or only those older than today, then MO71 is the way to go.
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000142&loc=en_US&cs=utf-8&lang=en


Both run as MQClients on a Windows machine, and will connect you to any QM on any platform.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu May 06, 2004 1:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

You can also try out MQ Visual Edit. It has a 'Clear Queue' function but I built some smarts into it. If the queue is not open for either input or output then MQVE issues the PCF clear q command. Otherwise it does destructive gets of 1-byte against the queue until it is empty.

It has 2 other clear functions: Clear by Data/Time and Clear by Matching String.

For more information or to download a 30-day trial of MQ Visual Edit, go to
http://www.capitalware.biz/products.html

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » 4070
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.