Author |
Message
|
steiner |
Posted: Mon Apr 07, 2008 3:58 am Post subject: Deleting one Message in Qlocal with runmqsc |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
how can I delete just one message in a local queue with runmqsc.
Clear or purge cannot delete just one message.
Thanks bye |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Apr 07, 2008 4:00 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
U cant with only runmqsc
either write your code or use some tool _________________ Cheers |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 07, 2008 4:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
AkankshA wrote: |
use some tool |
Some of the support pacs might meet your need. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
steiner |
Posted: Mon Apr 07, 2008 4:18 am Post subject: Deleting one message with runmqsc |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
yes of course with MO71, but I just want to know if there is perhaps a trick with Commands in runmqsc.
Thanks bye |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 07, 2008 4:37 am Post subject: Re: Deleting one message with runmqsc |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
steiner wrote: |
I just want to know if there is perhaps a trick with Commands in runmqsc. |
Nope. That's why the support pacs were produced. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 07, 2008 5:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, but you can with AMQSGET. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 07, 2008 5:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
No, but you can with AMQSGET. |
I think we've already established you can produce or modify a bit of code to do this. What point are you making that I'm missing?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 07, 2008 5:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Vitor wrote: |
I think we've already established you can produce or modify a bit of code to do this. What point are you making that I'm missing?  |
We'd barely established that, and it always bears a bit of repeating.
Secondly, the point here is "no SupportPac required". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 07, 2008 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
OK  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
steiner |
Posted: Mon Apr 07, 2008 10:36 pm Post subject: Deleting messages with Runmqsc |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
thanks for all your answers, but how can you deleting a message in a queue with amqsget.
You can just take the last message from a queue, but not I think the third or second message to delete it.
What do you think about.
thanks |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 08, 2008 12:56 am Post subject: Re: Deleting messages with Runmqsc |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
steiner wrote: |
thanks for all your answers, but how can you deleting a message in a queue with amqsget.
You can just take the last message from a queue, but not I think the third or second message to delete it.
|
You can if you modify the amqsget code.
IMHO that's the point jefflowrey was aluding to. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|