logic for comparing 2 files which are not in sorted order



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

logic for comparing 2 files which are not in sorted order

Postby Mrutyunjay » Wed Dec 01, 2010 2:56 pm

Hi Friends,

Compare 2 unsorted files and write into the other file ..

Please help me for implementing the logic for comparing 2 files which are not in sorted order.

Thanks,
Mrutyunjay...
Mrutyunjay
 
Posts: 2
Joined: Tue Aug 10, 2010 11:57 am
Has thanked: 0 time
Been thanked: 0 time

Re: logic for comparing 2 files which are not in sorted order

Postby NicC » Wed Dec 01, 2010 11:39 pm

The logic is the same as for when the files are in sorted order BUT first you have to sort the files.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: logic for comparing 2 files which are not in sorted order

Postby dick scherrer » Thu Dec 02, 2010 2:15 am

Hello,

Do not post a topic multiple times . . .

This topic is being locked as there is more discussion in the other topic.

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post