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 localqueue

Post new topic  Reply to topic
 display localqueue « View previous topic :: View next topic » 
Author Message
yobyalp
PostPosted: Mon Feb 18, 2013 10:16 am    Post subject: display localqueue Reply with quote

Newbie

Joined: 18 Feb 2013
Posts: 6

i am trying to display the local queue ending with example: .IN.MSG
Is any display option to get the details for ending queues.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Feb 18, 2013 7:12 pm    Post subject: Reply with quote

Jedi Knight

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

Did you search in the WMQ Infocenter for "display queue" ? What did that tell you about the queue-name parameter ?

Spoiler: http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/topic/com.ibm.mq.doc/sc12300_.htm
_________________
Glenn
Back to top
View user's profile Send private message
yobyalp
PostPosted: Tue Feb 19, 2013 1:30 am    Post subject: Reply with quote

Newbie

Joined: 18 Feb 2013
Posts: 6

I have tried display qlocal(*.IN.MSG) it throw mq error
but "display qlocal(ABC*)" it works for staring with ABC.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Feb 19, 2013 4:15 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

yobyalp wrote:
I have tried display qlocal(*.IN.MSG) it throw mq error
but "display qlocal(ABC*)" it works for staring with ABC.

What error?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
yobyalp
PostPosted: Tue Feb 19, 2013 4:43 am    Post subject: Reply with quote

Newbie

Joined: 18 Feb 2013
Posts: 6

qlocal(*.IN.MSG)

AMQ8424: Error detected in a name keyword.
Back to top
View user's profile Send private message
vishBroker
PostPosted: Tue Feb 19, 2013 6:52 am    Post subject: Reply with quote

Centurion

Joined: 08 Dec 2010
Posts: 135

I would create a script.
1. Run display queue(*)
2. Then go a grep on what you need. This will give you the queue names
3. Iterate through the queueNames and display queue details - redirect the o/p to another file.

As per my experience, MQ does not allow you to use '*' at the start.
It works with TAILING '*' only.
Back to top
View user's profile Send private message
yobyalp
PostPosted: Tue Feb 19, 2013 11:39 pm    Post subject: Reply with quote

Newbie

Joined: 18 Feb 2013
Posts: 6

Thanks! for responding
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Feb 20, 2013 12:36 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Use the marvellous MO71 tool. Use the queue list option.

Choose queue name of *

In the filter field (the one below queue type) enter QUEUE=='*IN.MSG'

You can even display queue names matching this pattern across multiple queue managers in a singe list, using the multi-QM option (click on the show queue manager list button at the top right).

You can use any of the other MQSC field names to make the pattern different or more complex, e.g. QUEUE=='*IN.MSG'' & CURDEPTH>0
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Feb 20, 2013 2:06 pm    Post subject: Reply with quote

Jedi Knight

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

yobyalp wrote:
I have tried display qlocal(*.IN.MSG) it throw mq error but "display qlocal(ABC*)" it works for staring with ABC.

Following the link from my earlier post, it states:
queue-name
The local name of the queue definition to be displayed (see Rules for naming WebSphere MQ objects). A trailing asterisk * matches all queues with the specified stem followed by zero or more characters. An asterisk (*) on its own specifies all queues.

So the only possible usage of * is on the end of a queue name. OK? It pays to read the manual.
_________________
Glenn
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Feb 21, 2013 12:16 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Or use MO71 when it can be used at the front.
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 IBM MQ Support » display localqueue
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.