Re: Eleminating Duplicates using SELECT and LASTDUP.
Posted: Wed May 14, 2014 4:49 am
Yes, enrico has it. Look at your sysout. You will see no SORT has been done. A COPY has been done, and with COPY input and output datasets are open at the same time. Even when SORTing, please don't use the same DSN for input and output in the same ICETOOL operator or the same SORT step.