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 » IBM MQ Performance Monitoring » ms03 switch to extract non defaults only

Post new topic  Reply to topic
 ms03 switch to extract non defaults only « View previous topic :: View next topic » 
Author Message
jcv
PostPosted: Fri Nov 07, 2008 10:19 am    Post subject: ms03 switch to extract non defaults only Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Hello,

is there a switch in ms03 to suppress output of object attributes which are set to default values for the required version?
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Fri Nov 07, 2008 10:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

No.

There's been a similar requirement floated around to only output non-default objects.

The difficulty in either case is knowing what the default is. I would basically have to keep a record somewhere that could be compared against.

Both of these are more likely to show up in MS0S than in MS03.
Back to top
View user's profile Send private message
jcv
PostPosted: Fri Nov 07, 2008 10:32 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Thanks.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Fri Nov 07, 2008 10:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You may also consider the products offered by the MQSeries.net sponsor MQSystems.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Nov 07, 2008 11:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

mqjeff, thanks for the opening

MQDocument besides many other options, has an option to report only differences against the defaults of the default objects.
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jcv
PostPosted: Mon Nov 10, 2008 9:11 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Thanks Michael. At the moment I'm not in a position to consider anything else but freeware. With respect to default objects, so far I'm satisfied with the option to suppress output of those which begin with "SYSTEM*" (getting back to ms03).
Back to top
View user's profile Send private message Visit poster's website
Michael Dag
PostPosted: Mon Nov 10, 2008 10:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

jcv wrote:
Thanks Michael. At the moment I'm not in a position to consider anything else but freeware. With respect to default objects, so far I'm satisfied with the option to suppress output of those which begin with "SYSTEM*" (getting back to ms03).


in the end it's your own choice, but correct me if I am wrong...
leaving out the default objects from your ms03 output is exactly the opposite of what you want to achieve as I understand...
you want to know what is different compared to the defaults... if you leave out the defaults then it is impossible to compare any setting agains them...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jcv
PostPosted: Mon Nov 10, 2008 1:35 pm    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Michael Dag wrote:
jcv wrote:
Thanks Michael. At the moment I'm not in a position to consider anything else but freeware. With respect to default objects, so far I'm satisfied with the option to suppress output of those which begin with "SYSTEM*" (getting back to ms03).


in the end it's your own choice, but correct me if I am wrong...
leaving out the default objects from your ms03 output is exactly the opposite of what you want to achieve as I understand...
you want to know what is different compared to the defaults... if you leave out the defaults then it is impossible to compare any setting agains them...


I find both options useful (existent and non-existent one). I have asked for the one I don't already have. I mentioned the other one that it suites me well for the purposes which mqjeff mentioned in the first case (similar but not the same requirement).
Back to top
View user's profile Send private message Visit poster's website
jcv
PostPosted: Mon Nov 10, 2008 3:00 pm    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Maybe I wasn't clear enough here. Both options, existent, that is leaving out the default (system) objects (-s switch), and non existent, that is the desired leaving out the attributes of objects which are set to default values for the required version, are interesting for me to achieve the result, extraction of configuration information in the most possible compact way. I suppose people follow the policy to change things that are created by issuing standard procedures (crtmqm, mqsicreate*, ... and similar), by doing standard procedures, for example altering mcauser to nobody for default channels, etc, hence there are other ways of how to restore configuration than by saving default objects in mqsc script. And then again, they can always leave out -s switch if they want to, and use only the non-existent one, if they find it more convenient. I mean they cannot, but they would be able if it existed.
If I want to find out the default for a certain attribute for some version to be able to compare it with actual objects attributes (and I usually don't need that), I can always create new qmgr and display the default by using runmqsc. That is if I'm interested in original defaults and I'm not sure if I changed it in observed qmgr, otherwise I can display it from there.
I don't need it really to be exported to mqsc file in order to be able to compare it, if that's your point.
Hence, I'm thinking about having file which is useful both for displaying, and for restoring, at the same time. Does that make any sense for you?
Back to top
View user's profile Send private message Visit poster's website
jcv
PostPosted: Mon Nov 10, 2008 11:19 pm    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Although, mqjeff's point and of those who were not satisfied enough with -s switch was, I believe, the distinction between default and system objects. First set is obtained by crtmqm exclusively, not by other standard scripts or procedures.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » ms03 switch to extract non defaults only
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.