IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Batch Compare libraries


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
seanm

New User


Joined: 05 Oct 2007
Posts: 9
Location: South Africa

PostPosted: Fri Oct 05, 2007 6:54 pm
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 7:11 pm
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Oct 05, 2007 7:18 pm
Reply with quote

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
View user's profile Send private message
seanm

New User


Joined: 05 Oct 2007
Posts: 9
Location: South Africa

PostPosted: Fri Oct 05, 2007 7:33 pm
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 7:39 pm
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 7:43 pm
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Oct 05, 2007 7:43 pm
Reply with quote

Which configuration management tool you are using for moving code to production?
Back to top
View user's profile Send private message
seanm

New User


Joined: 05 Oct 2007
Posts: 9
Location: South Africa

PostPosted: Fri Oct 05, 2007 7:46 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Oct 05, 2007 7:56 pm
Reply with quote

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
View user's profile Send private message
seanm

New User


Joined: 05 Oct 2007
Posts: 9
Location: South Africa

PostPosted: Fri Oct 05, 2007 8:06 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Oct 05, 2007 8:48 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 05, 2007 10:21 pm
Reply with quote

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
View user's profile Send private message
shashank.dreams

New User


Joined: 04 Jan 2006
Posts: 13
Location: pune

PostPosted: Fri Sep 19, 2008 8:47 pm
Reply with quote

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 icon_smile.gif

thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Sep 20, 2008 1:17 am
Reply with quote

Hello,

Ask your Librarian system programmer about how to use the Librarian Comparator.
Back to top
View user's profile Send private message
shashank.dreams

New User


Joined: 04 Jan 2006
Posts: 13
Location: pune

PostPosted: Sat Sep 20, 2008 1:57 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Sep 20, 2008 2:11 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Compare two files with a key and writ... SYNCSORT 3
Search our Forums:

Back to Top