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 » IBM MQ API Support » How to read and delete particular messages from MQ queue

Post new topic  Reply to topic
 How to read and delete particular messages from MQ queue « View previous topic :: View next topic » 
Author Message
hello2jitendra
PostPosted: Wed Nov 08, 2006 1:50 am    Post subject: How to read and delete particular messages from MQ queue Reply with quote

Apprentice

Joined: 26 Jun 2006
Posts: 25

Dear All

I have some messages stuck in MQ queues. But other messages are godd,
i can see the msg ID of the messages usong amqsbcg application.

Now i want to delete those selected messages from queue .

Is there any utility available where i can give the message id and delete particular messages from Queue.

Thanks in Advance
Jitendra
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Nov 08, 2006 1:51 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

You might try support pack MO71
Back to top
View user's profile Send private message
dkeister
PostPosted: Tue Nov 21, 2006 12:25 pm    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

I am adding function to MQExerciser to do just this. I need a beta customer if you are still having the problem. Please contact me at dean@mqexerciser.com if you are still interested.
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zpat
PostPosted: Tue Nov 21, 2006 1:00 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5851
Location: UK

RFHUTIL/C should be able to do this. Support Pac IH03
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Nov 21, 2006 9:50 pm    Post subject: Reply with quote

Jedi Knight

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

Yup, so can MQ Visual Edit

Plus there are other tools too:
http://www.capitalware.biz/mq_tools.html
http://www.capitalware.biz/mq_tools_comm.html

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
kspranava
PostPosted: Wed Nov 29, 2006 1:27 am    Post subject: Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Hi,



Quote:
zpat wrote:
RFHUTIL/C should be able to do this. Support Pac IH03


Am afraid, it is not possible using rfhutil. Lets say, if I want to delete 5th message alone in a queue which has 10 messages, rfhutil cannot help us. Correct me if am wrong.

--kspranava.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Nov 29, 2006 2:30 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5851
Location: UK

OK, here's how you do it with RFHUTIL/C

Press "start browse" after entering the queue manager and queue name

Press "browse next" until you reach the message you want to delete (you can see the message data in the data tab and the MQMD in the mqmd tab.

Then press "end browse" on the main tab.

Then check the "get by msg id" check box on the main tab (the msgid used will be the one from the message last browsed).

Press "Read Q" and the target message will be destructively got.

(This assumes the messages have unique message ids, but you can also select by correlid if you want to).
Back to top
View user's profile Send private message
kspranava
PostPosted: Wed Nov 29, 2006 2:37 am    Post subject: Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Hi zpat,

Excellent, thanks for uncovering the myth!

-kspranava
Back to top
View user's profile Send private message
dkeister
PostPosted: Mon Dec 04, 2006 6:36 am    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

A little late on this thread, but MQExerciser also can do this.

Open the queue and select the browse button.
You get a list of all the messages on the queue.
Select the message you want to delete.
At that point, you can see the message text and MQMD.
Now you can <Clear>, <Get>, or <Edit> the message.

Get a free version at www.mqexerciser.com
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mvarghese
PostPosted: Thu Dec 28, 2006 7:00 pm    Post subject: Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

Hi Pranav,
If a case like if u want to delete the message around 2k...ie postion from 4 th to 2004th in queue contains 4k messages.
then i seen that facilty in a tool called WMQTool..ie free for only 1 month...U can try that...
_________________
Jain Varghese
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 » IBM MQ API Support » How to read and delete particular messages from MQ 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.