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 IndexGeneral IBM MQ SupportClearing all the local Queues

Post new topicReply to topic Goto page Previous  1, 2
Clearing all the local Queues View previous topic :: View next topic
Author Message
gbaddeley
PostPosted: Tue Jun 11, 2019 10:31 pm Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2032
Location: Melbourne, Australia

bruce2359 wrote:
gbaddeley wrote:
bruce2359 wrote:
To circle back on the OP, what is the business requirement to clear all local queues?

... Also, the CLEAR QLOCAL command will not clear any queues that have open handles.

Which is why I push back for developers to write an app which can destructively consume affected messages.

Beware of apps that have open handles on queues with "exclusive input". This will prevent the destructive consumer app from getting any messages. Although in theory, these queues should be empty.
_________________
Glenn
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Aug 21, 2019 3:23 am Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 723
Location: Germany

gbaddeley wrote:
bruce2359 wrote:
gbaddeley wrote:
bruce2359 wrote:
To circle back on the OP, what is the business requirement to clear all local queues?

... Also, the CLEAR QLOCAL command will not clear any queues that have open handles.

Which is why I push back for developers to write an app which can destructively consume affected messages.

Beware of apps that have open handles on queues with "exclusive input". This will prevent the destructive consumer app from getting any messages. Although in theory, these queues should be empty.


The "dmpmqmsg" command (formerly known as SupportPac MO03 - qload) is also able to remove messages out of queues which are in use. In addition you could select a range of messages, a specific message no. or search for message contents.

And you could offload queues to files - to prevent accidentially cleared queues.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexGeneral IBM MQ SupportClearing all the local Queues
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.