View previous topic :: View next topic
|
Author |
Message |
seanm
New User
Joined: 05 Oct 2007 Posts: 9 Location: South Africa
|
|
|
|
Compare
Hi Guys, I am new at this and would like to know if there is anyone who knows of a tool can be used to compare 2 libraries, basically to find out if the source code in one dataset is identical to the source code in another dataset.......
this tool should ideally bring back the percentage difference or something of that nature.......
any help would be appreciated!!!!!!!! |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Sean,
In general SUPERCE, FileAid COMPARE option etc.... are available for comparision. If you could post your requirement clearly, we might offer some suggestions. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Check what version control tool is used in your site, I know in Endevor you can do compare of source modules to see the difference. |
|
Back to top |
|
|
seanm
New User
Joined: 05 Oct 2007 Posts: 9 Location: South Africa
|
|
|
|
Apiologies.....
Ok... I have two environments......
the development (dev) environment which is logically connected to the production environment, so what happens is that code is copied thru to production from dev at implementation........ there could be mistakes in this..... thus I want to be able to compare the two environments in a batch and produce a smart report and not the one that I am seing in tso currently course it does not look that nice at all.......
basically its like comparing two directories and telling if the files in those directrories are the same....
involving
-Date of compilation
-and every detail that can determine that!
if there are any differences... exactly what percentage so that I can know the damage |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Sean,
Quote: |
that code is copied thru to production from dev at implementation........ there could be mistakes in this |
I know this is nothing related to query. Before moving code to prod, don't you require to do some kind of testing? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Sean,
Quote: |
Date of compilation |
Do we get compilation date in SOURCE code (assuming its not hard coded manually in the program)?
Quote: |
every detail that can determine that! |
Details like?????? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Which configuration management tool you are using for moving code to production? |
|
Back to top |
|
|
seanm
New User
Joined: 05 Oct 2007 Posts: 9 Location: South Africa
|
|
|
|
Ya... valid question... but remember that there is legacy code that is sitting in production that involves people that were dealing with this code a long time ago and we do not know if all was done propaly and except for that... we need to double check all these areas!!!!! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
To keep it short ...
if the libraries are standard PDS datasets ISPF SUPERC ( basic or advanced )
will do
If the libraries are CA libraries ( librarian maybe ? ) the there should be
a CA utility do do it
I remember that Librarian ( once upon a time ) had some kind of versioning facility..
regards
e.s |
|
Back to top |
|
|
seanm
New User
Joined: 05 Oct 2007 Posts: 9 Location: South Africa
|
|
|
|
Yes, sort of but I want a different tool other than the ISPF SUPERC ow... and I am interested if CA could have that tool.... the idea is the form of reporting afterwards and the automation of the process cause the ISPF SUPERC one is not so nice!!!!
Thanks a mil.... please do let me know if you can refare me somewhere |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
You got what You asked for
You not liking the superc output is not an auditable technical requirement,
If You do not like the superc output You can always reformat it to your taste
regards
e.s |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
a CA utility do do it
I remember that Librarian ( once upon a time ) had some kind of versioning facility.. |
CA-Librarian has both versioning and the COMPARATOR (compares one member against another).
If you ust the stats at the end of a superc compare, it shows counts. With a bit of arith8metic, you could generate percentages. I'd suggest the % of difference is far less significant than what the difference(s) cause in processing.
For example, let's say that a "rate" is supposed to be $2.00. Let's also say that the only difference in a program is that the reate is in error and is $200. Now let's say that in another program there are 20 differences that involve spacing in the report header lines. I suggest that the number of differences and whatever % that is is far less important than the result of the $2.00 and $200 difference.
If i have misunderstood, p[lease clarify. |
|
Back to top |
|
|
shashank.dreams
New User
Joined: 04 Jan 2006 Posts: 13 Location: pune
|
|
|
|
Hello,
I am working on CA-Librarian/ELIPS release 4.3 tool for storing source modules. I want to compare two members present in this library.
Is there any utility or batch jcl available to perform this ?
Looking for reply asap
thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Ask your Librarian system programmer about how to use the Librarian Comparator. |
|
Back to top |
|
|
shashank.dreams
New User
Joined: 04 Jan 2006 Posts: 13 Location: pune
|
|
|
|
Hi,
This is an old legacy system..and nobody touched it for quite a sum of time... and no person is here who knows abt these tools facility.
What is the normal way to use this librarian comparator in normal CA-Librarian/ELIPS release 4.3 ?
old legacy system.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
All of the information about the comparator is in the Librarian User Guide including the necessary jcl and how to work with the comparison tool.
If the documentation is not available at your site/ on some disk drive, it may all be downloaded free from the CA Support site if your system is licensed. |
|
Back to top |
|
|
|