RS,

As Elardus kindly pointed out, you can use JOINKEYS to compare 2 different
files. You have the option of comparing the keys upto 4088 bytes in Binary.
In your case the input file LRECL is only 1500, so even if you wanted to
compare each and every byte then you can do that. However remember that if
you do happen to have duplicates in both files, then you might end up with
Cartesian product is a join of every duplicate record of one file-1 to
every duplicate record of another file-2.  For example, if File-1 has 100
duplicate records and file-2 has 100 duplicate records then a Cartesian
join will return 100,000 records. You can eliminate the dups before the
match coding JNF1 and JNF2.

So If you let us know the exact requirement then we can show you how to get
the desired results.

Thanks,
Sri Hari Kolusu
DFSORT Development
IBM Corporation

IBM Mainframe Discussion List <[email protected]> wrote on
07/06/2018 04:03:31 AM:

> From: "R.S." <[email protected]>
> To: [email protected]
> Date: 07/06/2018 04:07 AM
> Subject: DFSORT - a quick way to compare two huge files
> Sent by: IBM Mainframe Discussion List <[email protected]>
>
> We have two output files, rather huge ones (rather gigabytes than MB's)
> with LRECL~1500, FB.
> The goal is to compare them and find different records.
> While I have some ideas how to do it (even ISPF Compare or ICETOOL) I
> don't think it would effective.
>
> Any clues?
>
> --
> Radoslaw Skorupka
> Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to