How to compare two members in two differnt PDS using COBOL



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

How to compare two members in two differnt PDS using COBOL

Postby ARUNGRULZ » Sat Oct 31, 2009 6:55 am

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
ARUNGRULZ
 
Posts: 4
Joined: Sat Oct 31, 2009 6:38 am
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby MrSpock » Sat Oct 31, 2009 7:53 pm

Why wouldn't you want to just use a normal SuperC compare (ISPF Option 3.12) instead of creating your own process?
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

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

Postby dick scherrer » Sun Nov 01, 2009 4:29 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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

Postby ARUNGRULZ » Sat Nov 07, 2009 4:15 pm

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?
ARUNGRULZ
 
Posts: 4
Joined: Sat Oct 31, 2009 6:38 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby dick scherrer » Sun Nov 08, 2009 7:20 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post