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 IBM MQ Support » Display queues, ending with specific set of characters

Post new topic  Reply to topic
 Display queues, ending with specific set of characters « View previous topic :: View next topic » 
Author Message
messg_wb
PostPosted: Tue Feb 06, 2007 12:34 pm    Post subject: Display queues, ending with specific set of characters Reply with quote

Acolyte

Joined: 29 Sep 2005
Posts: 51

I was wondering, If there is any way (mqsc command) that we could display queue's with queue names ending with any specific characters, something like '*ERROR'. I tried below but it was of no use

DIS QLOCAL(*ERROR)
DIS QLOCAL(*) WHERE(QUEUE LK '%ERROR')

Thanks,
Krish

IBM Certified System Admin, WebSphere MQ 6.0
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Feb 06, 2007 12:45 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Nope.

Not out of the box at least. It shouldn't be too hard to 'roll your own'.

Or you could review naming conventions and start the queue names as ERROR.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Feb 06, 2007 4:42 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Or if you're on V6, the MQExplorer with SupportPac me02 installed.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
hilltops
PostPosted: Thu Feb 15, 2007 4:58 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

OR, you could try the following on Unix, to display every queue with ERROR anywhere in its name.


echo "dis qlocal(*) " | runmqsc <QMGRNAME> | grep ERROR
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 15, 2007 5:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I run that command on windows, and it complains!


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Feb 15, 2007 10:58 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

jefflowrey wrote:
I run that command on windows, and it complains!




Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 15, 2007 2:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
I run that command on windows, and it complains!


try: echo dis q(*) | runmqsc <qmgr> | find "ERROR"

This should give you the same result on windows
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pathipati
PostPosted: Thu Feb 15, 2007 4:45 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

it's working..thanks fjb_saper
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Display queues, ending with specific set of characters
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.