Page 1 of 1

remove duplicates in two files and write unique to output file

Posted: Tue Mar 19, 2024 11:18 am
by Raja Babu
How to remove duplicates in two files and write unique to op file without Sort?

Is there any way in cobol other than loading data and search in array?

Re: remove duplicates in two files and write unique to output file

Posted: Tue Mar 19, 2024 6:39 pm
by Robert Sample
SORT is, by far, the easiest way to do this.  Other than using an array, you could use a matched merge program in COBOL or other language of your choice.