Nick Barraco wrote:

>Does anybody know of (or have source for) a handy little utility to find
duplicate records in a file?  

select key from file group by key having count(*)>1 works, or

FDTAARA  IP  F     539            DISK                    
FQSYSPRT O   F     132     OF    LPRINTER                 
LQSYSPRT 066FL060OL                                       
IDTAARA  AA  01                                           
I                                       14  23 ODLBNML1   

L1 comes on for every new value of ODLBNM, so if you have 01NL1, you have a
duplicate...

Buck Calabro
Aptis; Albany, NY
"Nothing is so firmly believed as
 that which we least know" -- Michel Montaigne
Visit the Midrange archives at http://www.midrange.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].