Author |
Message
|
c4delta |
Posted: Wed Jun 08, 2005 6:50 am Post subject: Message Administration |
|
|
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 |
|
 |
nathanw |
Posted: Wed Jun 08, 2005 6:52 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Jun 08, 2005 6:57 am Post subject: |
|
|
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 |
|
 |
c4delta |
Posted: Wed Jun 08, 2005 10:34 am Post subject: |
|
|
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 |
|
 |
mq_crazy |
Posted: Wed Jun 08, 2005 11:06 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
Try MO71 supportpac its pretty good. You can download it at IBM website. |
|
Back to top |
|
 |
c4delta |
Posted: Wed Jun 08, 2005 4:47 pm Post subject: |
|
|
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 |
|
 |
c4delta |
Posted: Wed Jun 08, 2005 4:50 pm Post subject: |
|
|
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 |
|
 |
JT |
Posted: Wed Jun 08, 2005 7:04 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
c4delta |
Posted: Thu Jun 09, 2005 2:49 pm Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Thu Jun 09, 2005 9:46 pm Post subject: |
|
|
 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 |
|
 |
|