Page 1 of 1

How to compare two members in two differnt PDS using COBOL

PostPosted: Sat Oct 31, 2009 6:55 am
by ARUNGRULZ
I want to compare two different members (but of the same name) which are in two different PDS. Can we do it through a cobol pgm (or any other)? Please let me know

Re: How to compare two members in two differnt PDS using COBOL

PostPosted: Sat Oct 31, 2009 7:53 pm
by MrSpock
Why wouldn't you want to just use a normal SuperC compare (ISPF Option 3.12) instead of creating your own process?

Re: How to compare two members in two differnt PDS using COBOL

PostPosted: Sun Nov 01, 2009 4:29 am
by dick scherrer
Hello,

Maybe a bit of elaboration will help. . .

Show a bit of the data from the 2 members and how you want the compare to work.

SUPERC 3.12 (or the same process) in batch may be able to do just what you want.

Re: How to compare two members in two differnt PDS using COBOL

PostPosted: Sat Nov 07, 2009 4:15 pm
by ARUNGRULZ
If it was 1 or 2 members , I can use Super C and all, but if there are thousands of members to compare, how to do that in a single batch program?

Re: How to compare two members in two differnt PDS using COBOL

PostPosted: Sun Nov 08, 2009 7:20 am
by dick scherrer
Hello,

I must be misunderstanding something. . .

Once the process works (superc or cobol), the time needed to identify thousands of members would be the same either way would it not :?

If you use spuerc and compare entire libraries, there should not be so much identification/selection time spent.

As i said - i may misunderstand.