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 » distinguish system Q from rest of the Q's not using its name

Post new topic  Reply to topic
 distinguish system Q from rest of the Q's not using its name « View previous topic :: View next topic » 
Author Message
anan
PostPosted: Tue Mar 11, 2014 8:40 am    Post subject: distinguish system Q from rest of the Q's not using its name Reply with quote

Novice

Joined: 24 Sep 2013
Posts: 11

Please suggest a way to distinguish system queues from rest of the queue with out using its name.. like

dis ql(system*)..

Any other options please...
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 11, 2014 9:26 am    Post subject: Re: distinguish system Q from rest of the Q's not using its Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anan wrote:
Please suggest a way to distinguish system queues from rest of the queue with out using its name


The only thing which makes a system queue a system queue is it's name; they're just queue objects like any others.

So

Code:
DIS Q(SYSTEM.**)


is the only real way - why don't you want to use it?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Mar 11, 2014 9:51 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

And do not use any object that starts with the name SYSTEM.**, especially and SVRCONN channels.
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Tue Mar 11, 2014 9:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JosephGramig wrote:
And do not use any object that starts with the name SYSTEM.**, especially and SVRCONN channels.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Mar 11, 2014 2:25 pm    Post subject: Reply with quote

Jedi Knight

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

There are lots of other SYSTEM objects besides queues. You would have to do many display commands to see them all.

I hope you are aware of automatic case conversion on object names in MQSC commands. The safest method is display queue('SYSTEM.*')
_________________
Glenn
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Mar 12, 2014 2:23 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

'**' is not detectable.
Code:

display qlocal(SYSTEM.**)
     1 : display qlocal(SYSTEM.**)
AMQ8424: Error detected in a name keyword.


'*' works though.
Code:
display qlocal(SYSTEM.*)
     2 : display qlocal(SYSTEM.*)
AMQ8409: Display Queue details.
   QUEUE(SYSTEM.ADMIN.ACCOUNTING.QUEUE)    TYPE(QLOCAL)
AMQ8409: Display Queue details.
   QUEUE(SYSTEM.ADMIN.ACTIVITY.QUEUE)      TYPE(QLOCAL)
AMQ8409: Display Queue details.
   QUEUE(SYSTEM.ADMIN.CHANNEL.EVENT)       TYPE(QLOCAL)
:

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
JosephGramig
PostPosted: Wed Mar 12, 2014 5:16 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

The "SYSTEM.**" is an setmqaut thing which is quite different from "SYSTEM.*" and is also valid. I encourage the readers to look that up in the manual and fully understand the difference before attempting the implementation of a security schema. IMHO I don't see any pragmatic value to the single '*' functionality in the OAM and have never see any institution correctly and usefully implement it.

It is interesting that the MQSC command are different and only accept one '*' and nothing after it, but it is a matter of resources to code such features that governs how the product works...
Back to top
View user's profile Send private message AIM Address
anan
PostPosted: Tue Mar 25, 2014 9:29 am    Post subject: Reply with quote

Novice

Joined: 24 Sep 2013
Posts: 11

Blocked system queues using a script to monitor all other Q's. ThankQ all for your tips.
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 » distinguish system Q from rest of the Q's not using its name
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.