First 3 bytes represents a set of records.
If we have more than 50 records in a set, then duplicate records in each set should be eliminated based on (5-7) 3 bytes
For AAA set we have only 4 records- No problem
For BBB set we have more than 50 records, So the duplicate records in this set should be eleminated, only first occurance of the record should be taken.
output:
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
For BBB set we have more than 50 records, So the duplicate records in this set should be eleminated, only first occurance of the record should be taken.
For BBB 191, the input has:
BBB 191 3dlksjldsjfl
BBB 191 50fljfsljlsf
so the first record is:
BBB 191 3dlksjldsjfl
But for the output, you show:
BBB 191 50fljfsljlsf
which is the second record. How does that correspond to your stated "rule" about taking the first record?