Author: Bill Woodger
Subject: Reply to: Removing Duplicates based on certain value of the records
Posted: Fri Dec 09, 2016 8:35 pm (GMT 5.5)
WHEN=GROUP with KEYBEGIN and PUSH a SEQ (make sure it is large enough to accomodate the maximum number of records for a key) to temporarily extend your records, and use OUTFIL OMIT= to discard any record with "a1" and SEQ-field greater than one. Use BUILD to drop off them temporary extension.
Subject: Reply to: Removing Duplicates based on certain value of the records
Posted: Fri Dec 09, 2016 8:35 pm (GMT 5.5)
WHEN=GROUP with KEYBEGIN and PUSH a SEQ (make sure it is large enough to accomodate the maximum number of records for a key) to temporarily extend your records, and use OUTFIL OMIT= to discard any record with "a1" and SEQ-field greater than one. Use BUILD to drop off them temporary extension.