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 » Message Administration

Post new topic  Reply to topic
 Message Administration « View previous topic :: View next topic » 
Author Message
c4delta
PostPosted: Wed Jun 08, 2005 6:50 am    Post subject: Message Administration Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 13

I am looking for a tool or command that will allow me to find and delete a message based on either content or its position in the queue.

For example, I would like to delete messages 5-13 in a specific queue.

Any suggestions? Thanks.
Back to top
View user's profile Send private message
nathanw
PostPosted: Wed Jun 08, 2005 6:52 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

manually or automatically?

you can use RFHUTIL to read specific messages from a queue manually and once yu actually read it it is removed from the queue

getting to the correct message is the problem tho
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Wed Jun 08, 2005 6:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Any of the monitoring tools available usually include a "message browser" utility that will do this.

CapitalWare's MQ VisualEdit is such a utility - without having to pay for the monitoring infrastructure.

You could use the "q" support pack, likely, to do this.

You could modify one of browse sample programs to act as a utility to do this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
c4delta
PostPosted: Wed Jun 08, 2005 10:34 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 13

I have tried "q" although I am not sure it can delete a specific message. I will give VisualEdit a try. Thank you.

jefflowrey wrote:
Any of the monitoring tools available usually include a "message browser" utility that will do this.

CapitalWare's MQ VisualEdit is such a utility - without having to pay for the monitoring infrastructure.

You could use the "q" support pack, likely, to do this.

You could modify one of browse sample programs to act as a utility to do this.
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Wed Jun 08, 2005 11:06 am    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Try MO71 supportpac its pretty good. You can download it at IBM website.
Back to top
View user's profile Send private message
c4delta
PostPosted: Wed Jun 08, 2005 4:47 pm    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 13

So, it does look like queue can delete a specific message. I just realized that the Message ID was being returned as hex, so I had to specify that I was using hex.

c4delta wrote:
I have tried "q" although I am not sure it can delete a specific message. I will give VisualEdit a try. Thank you.

jefflowrey wrote:
Any of the monitoring tools available usually include a "message browser" utility that will do this.

CapitalWare's MQ VisualEdit is such a utility - without having to pay for the monitoring infrastructure.

You could use the "q" support pack, likely, to do this.

You could modify one of browse sample programs to act as a utility to do this.
Back to top
View user's profile Send private message
c4delta
PostPosted: Wed Jun 08, 2005 4:50 pm    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 13

Which directory is RFHUTIL in? Thanks.

nathanw wrote:
manually or automatically?

you can use RFHUTIL to read specific messages from a queue manually and once yu actually read it it is removed from the queue

getting to the correct message is the problem tho
Back to top
View user's profile Send private message
JT
PostPosted: Wed Jun 08, 2005 7:04 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

RFHUTIL/C can be found in the IH03 WBI Message display, test and performance utilities supportpac.
Back to top
View user's profile Send private message
c4delta
PostPosted: Thu Jun 09, 2005 2:49 pm    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 13

I think I have figured out a fairly livable workaround with "q". First, download messages in files named MESSAGEID.message. Second, grep using the desired search string. That should give you a list of messages that match the search string along with the message ID. Third, delete the specific messages using "q."

jefflowrey wrote:
Any of the monitoring tools available usually include a "message browser" utility that will do this.

CapitalWare's MQ VisualEdit is such a utility - without having to pay for the monitoring infrastructure.

You could use the "q" support pack, likely, to do this.

You could modify one of browse sample programs to act as a utility to do this.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jun 09, 2005 9:46 pm    Post subject: Reply with quote

Jedi Knight

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

Hi,
Quote:
I think I have figured out a fairly livable workaround with "q". First, download messages in files named MESSAGEID.message. Second, grep using the desired search string. That should give you a list of messages that match the search string along with the message ID. Third, delete the specific messages using "q."

Wow, I hope you don't have to do that very often - because time is money.

In MQ Visual Edit, that process is only a couple of clicks:
- Open Queue
- Click Find button, input search string and click OK
- If the string is found then the message will be highlighted, then click the delete button.

For more information or to download a 30-day trial of MQ Visual Edit, go to:
http://www.capitalware.biz/mqve_overview.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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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