I tried the code you supplied me, but it eliminated more than just the duplicates. I have experimented for a while without success. Since the real data has social security numbers in it, I privately e-mailed you with the results of a limited test, hoping you would see what I did wrong. I'm not sure though that this e-mail address is correct, so I am following up with this message today.
This ICETOOL solution looks like a better idea than writing a CoBOL program to do the same thing - except everybody here can maintain and debug CoBOL. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

