Determine duplicate record for duplicate and non-duplicate records
- by gibboo
I have a files containing both duplicate and non-duplicate
records. The file is already sorted by a key. I want to
determine those records that are duplicate and records that
are non-duplicate. If duplicate the record is moved to a
duplicate file and if non-duplicate that will be moved to
valid file.
I am using COBOL, and occurence of
records for duplicate and non-duplicate is more than twice.