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 Discussion » saveqmgr comparisons

Post new topic  Reply to topic
 saveqmgr comparisons « View previous topic :: View next topic » 
Author Message
George Carey
PostPosted: Thu Jun 02, 2011 3:05 pm    Post subject: saveqmgr comparisons Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

Any nice way to compare the saveqmgr image outputs from two servers to see if they were built with the same objects ?

Using linux ... trying to avoid eye ball checking or writing a perl script, but diff and similar such commands don't get it.

Creation dates of course screw comparisons up but if these could be ignored some how, say by skipping all commmented lines.

It would be a nice add on function to saveqmgr ! Maybe a cmp_saveqmgr command or the like.
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
mqjeff
PostPosted: Fri Jun 03, 2011 3:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's probably easier to use diff if you use -1 or --oneLine.

This usecase is what --oneLine and --twoLines was added for.

You might also look at some of the tools available from the forum sponsor MQSystems. There is some really nifty smart compares in ... I think... MQArchitect?
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Jun 03, 2011 4:14 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

mqjeff wrote:
There is some really nifty smart compares in ... I think... MQArchitect?

MQDocument has mqdocdiff bundled with it.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
George Carey
PostPosted: Fri Jun 03, 2011 8:09 am    Post subject: options Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

I will look at these options.

Thanks,
GTC
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
George Carey
PostPosted: Fri Jun 03, 2011 12:18 pm    Post subject: oneLine Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

Well oneLine ... appears to pinpoint an object difference, say in a define but still need to do a tedious eyeball check to see where the difference is.

Much to be desired in its use. I will check on this mqdocdiff utility.
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
fjb_saper
PostPosted: Fri Jun 03, 2011 9:39 pm    Post subject: Re: oneLine Reply with quote

Grand High Poobah

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

George Carey wrote:
Well oneLine ... appears to pinpoint an object difference, say in a define but still need to do a tedious eyeball check to see where the difference is.

Much to be desired in its use. I will check on this mqdocdiff utility.


I just store the scripts into SVN and don't use -1 or -2 switch.
The diff utility from SVN quite accurately pinpoints the changes.

If you want a more formalized way and more flexibility in applying changes all around, you should go for the MQSystems stuff.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
George Carey
PostPosted: Sat Jun 04, 2011 12:56 pm    Post subject: fldiff Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

Not looking for anything sexy at this point just a labor saver.

Haven't played with SVN diff ... I will have to look into it.

Do you have a usage reference, is it a Linux verson control utility like CVS?

Stumbled upon this freeware utility (fldiff) . Looks simple enough to use.

http://www.easysw.com/~mike/fldiff/

May give it a look at.
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
fjb_saper
PostPosted: Sat Jun 04, 2011 5:35 pm    Post subject: Reply with quote

Grand High Poobah

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

http://sourceforge.net/projects/tortoisesvn


http://tortoisesvn.tigris.org

http://www.open.collab.net/products/subversion/
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Jun 04, 2011 6:53 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There may also be existing options to your current diff that would help.

but I do encourage you to look at MQDocument. I know Michael has put hard work into making it smart.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sun Jun 05, 2011 6:30 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

mqjeff wrote:
but I do encourage you to look at MQDocument. I know Michael has put hard work into making it smart.


We use it. I get an email every morning with MQDocument report showing what if anything got added, deleted or changed on each QM in my environment.

I suppose eventually once all the QMs are at MQ 7.0.1 I should start using Configuration Events to get real time notifications of changes, but until then and for the past several years this daily report has been great.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
George Carey
PostPosted: Mon Jun 06, 2011 10:42 am    Post subject: current environment Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

I would have gotten it already but my current environment is restrictive and would not allow third party software unless I can get access to the source as well ... which I doubt Michael Dag would be interested in doing.

So likely will check out SVN links from fjb_saper ... sounds like all I need.

Thanks all ...

But ... have half a mind to parse up a runmqsc output or saveqmgr output with a perl program into XML and create a simle XSLT template and have a browser display the XML with the style sheet as a niece coding exercise ... which would be the first tiny bit of what M. Dag is doing in Java ... but as everything, time for it is the dependency factor ... were I more a speedy coder(i.e. did coding more frequently) ... however, the task looks straight forward ...
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
mqjeff
PostPosted: Mon Jun 06, 2011 11:47 am    Post subject: Re: current environment Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

George Carey wrote:
... however, the task looks straight forward ...


Runmqsc output is not as straightforward as one might think.

If you are only trying to describe objects that can be DEFINE, it is not too bad.

But when you try and look at other things, it's trickier.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Jun 15, 2011 7:11 am    Post subject: Re: current environment Reply with quote

Jedi Knight

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

George Carey wrote:
I would have gotten it already but my current environment is restrictive and would not allow third party software unless I can get access to the source as well ... which I doubt Michael Dag would be interested in doing.

If you absolutelt need source code access, that can be arranged... obviously at a differrent price
George Carey wrote:

So likely will check out SVN links from fjb_saper ... sounds like all I need.

Thanks all ...

But ... have half a mind to parse up a runmqsc output or saveqmgr output with a perl program into XML and create a simle XSLT template and have a browser display the XML with the style sheet as a niece coding exercise ... which would be the first tiny bit of what M. Dag is doing in Java ... but as everything, time for it is the dependency factor ... were I more a speedy coder(i.e. did coding more frequently) ... however, the task looks straight forward ...

you just described more or less how MQDocument is designed, parse anything that comes out of MQ includeing MAKEDEF, turn it into XML and use XSLT and some java tools to analyse/compare/merge data ...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
zpat
PostPosted: Wed Jun 15, 2011 7:12 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

This is a job for a GUI, try examdiff.
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 Discussion » saveqmgr comparisons
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.