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 Discussion » Deleting one Message in Qlocal with runmqsc

Post new topic  Reply to topic
 Deleting one Message in Qlocal with runmqsc « View previous topic :: View next topic » 
Author Message
steiner
PostPosted: Mon Apr 07, 2008 3:58 am    Post subject: Deleting one Message in Qlocal with runmqsc Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Mon Apr 07, 2008 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Mon Apr 07, 2008 4:01 am    Post subject: Reply with quote

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
View user's profile Send private message
steiner
PostPosted: Mon Apr 07, 2008 4:18 am    Post subject: Deleting one message with runmqsc Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 07, 2008 4:37 am    Post subject: Re: Deleting one message with runmqsc Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 07, 2008 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 07, 2008 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 07, 2008 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 07, 2008 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message
steiner
PostPosted: Mon Apr 07, 2008 10:36 pm    Post subject: Deleting messages with Runmqsc Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Apr 08, 2008 12:56 am    Post subject: Re: Deleting messages with Runmqsc Reply with quote

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
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 » General Discussion » Deleting one Message in Qlocal with runmqsc
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.