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't Clear Messages

Post new topic  Reply to topic
 Can't Clear Messages « View previous topic :: View next topic » 
Author Message
psiracusa
PostPosted: Tue Dec 12, 2006 11:37 am    Post subject: Can't Clear Messages Reply with quote

Apprentice

Joined: 17 Nov 2006
Posts: 34

Has anybody ever seen a problem where messages are on a queue, the queue depth is at 100, but you can't browse or get messages off the queue? I've used amqsget, rfhutil and the api clear from the Explorer and it just comes back and says there aren't any messages on the queue.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Dec 12, 2006 11:42 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Could they be uncommitted messages maybe?
Back to top
View user's profile Send private message
psiracusa
PostPosted: Tue Dec 12, 2006 11:48 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2006
Posts: 34

Well, that was it. Very odd, I haven't seen that before. I was using the rfhutilc to put messages on a queue and a WAS process was attached as a consumer. The rfhutil process wouldn't release the messages until I closed the .exe

Thanks!
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Dec 12, 2006 11:16 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Anyway its strange behaviour,

1. Are there any process attached to this queue, and it still running.
if it is there kill it and try to clear the messages.

*** Some times the process locks the resource what it is using ****

2. This is a worst option:
you can delete the queue and recreate it. but i wont suggest you this.

Please let us know the status

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Dec 13, 2006 5:50 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
1. Are there any process attached to this queue, and it still running.


Quote:
and a WAS process was attached as a consumer.


Back to top
View user's profile Send private message
garyprmr
PostPosted: Thu Dec 14, 2006 3:03 am    Post subject: Reply with quote

Acolyte

Joined: 03 Sep 2005
Posts: 74

Check for the IPROC AND OPROC attribute of queue , if they have any count in that , runmqsc clear command does'nt work . Please check that could also be the case with rfcutil I guess .
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Vitor
PostPosted: Thu Dec 14, 2006 3:22 am    Post subject: Reply with quote

Grand High Poobah

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

garyprmr wrote:
. Please check that could also be the case with rfcutil I guess .


But you can (unless the other process has an exclusive lock on the queue) use it to destructively read all the messages off.

Not elegant but....
_________________
Honesty is the best policy.
Insanity is the best defence.
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't Clear Messages
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.