Page 1 of 1

Finding duplicates without sorting

PostPosted: Mon Apr 07, 2014 11:52 am
by charlessxavier
Hello everyone,

I need small help in finding duplicates in a file and separating duplicates and distinct records without sorting.

The records should appear in both the output files in the same order as they are in input file.

possible doing that ?

Thanks a lot

Re: Finding duplicates without sorting

PostPosted: Mon Apr 07, 2014 12:48 pm
by BillyBoyo
Yes, but please give fuller details. RECFM, LRECL, are duplicates contiguous only only, or does the input require sorting to get the matches and then returning to original order?