Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Batch Compare libraries

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Batch Compare libraries
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 7:11 pm    Post subject:
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    Post subject:
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    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 7:39 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 7:43 pm    Post subject:
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Oct 05, 2007 7:56 pm    Post subject: Reply to: Batch Compare libraries
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Oct 05, 2007 8:48 pm    Post subject: Reply to: Batch Compare libraries
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

Site Director


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

PostPosted: Fri Oct 05, 2007 10:21 pm    Post subject:
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    Post subject: Compare one member against another for CA-librarian...
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

Site Director


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

PostPosted: Sat Sep 20, 2008 1:17 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sat Sep 20, 2008 2:11 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us