> Really???? How is your solution a single instruction? Hobart,
I believe that Massimo's(who provided the solution) intention was "single pass of data" and not truly a single "instruction". Since OP wanted to retain the original order of the records after eliminating the duplicates, he needs another pass on the data, to put the data back in the original order. Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
