Author |
Message
|
Bichu |
Posted: Tue Jul 26, 2016 7:46 am Post subject: How to delete a particular message using IBM MQ Explorer |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Hi Guys,
Is there any way to delete a particular message using IBM MQ Explorer or using MQSC commands, say, by using message id or position number .
Thanks in advance. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 26, 2016 7:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
No more than you can "delete" a message from a queue with an application (which is all MQ Explorer is really).
You can destructively read & ignore a message based on message id. I do not believe MQ Explorer has that functionality. Some of the various support pac utilities might suit your needs. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Bichu |
Posted: Tue Jul 26, 2016 7:58 am Post subject: |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Many Thanks Vitor. I also thought of using Rfhutil to purge messages.
But still can we use the same to purge multiple messages by specifying a series of ids or so? |
|
Back to top |
|
 |
PaulClarke |
Posted: Tue Jul 26, 2016 8:36 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Not quite as nice to use as a GUI for this kind of thing but you can 'delete' a message from a queue by Message Id using my Q SupportPac MA01
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Jul 26, 2016 8:59 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
MS0P will also add administrative support to allow you to delete, copy or move specific messages. It is a plugin for MQ Explorer. After you apply it, browse the queue and right click on the message in question.
I like it very much and it does much more... |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 26, 2016 10:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
JosephGramig wrote: |
MS0P will also add administrative support to allow you to delete, copy or move specific messages. It is a plugin for MQ Explorer. After you apply it, browse the queue and right click on the message in question.
I like it very much and it does much more... |
The one thing it does not do for me is display the message in a readable format. I can only see the message displayed in Hex with the plug-in. _________________ MQ & Broker admin |
|
Back to top |
|
 |
tczielke |
Posted: Tue Jul 26, 2016 12:37 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
When I just have hex bytes and want to view them as printable characters, I use a program that I wrote (and is free on the Capitalware website) called mqcpcnvt. It allows you to PUT/GET hex byte streams to a queue. You can also convert the data on the GET. It also prints the hex data as printable characters after the GET, which is the helpful piece here. So if you have EBCDIC or ASCII byte streams, you could run mqcpcnvt on an ASCII system and view both use cases in printable ASCII characters. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 27, 2016 4:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
tczielke wrote: |
When I just have hex bytes and want to view them as printable characters, I use a program that I wrote (and is free on the Capitalware website) called mqcpcnvt. It allows you to PUT/GET hex byte streams to a queue. You can also convert the data on the GET. It also prints the hex data as printable characters after the GET, which is the helpful piece here. So if you have EBCDIC or ASCII byte streams, you could run mqcpcnvt on an ASCII system and view both use cases in printable ASCII characters. |
For that I use Paul Clarke's excellent support pack MO71...
I was just wondering if I am missing something in MSOP that would allow me to see a message as text instead of Hex values...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|