I have to remove duplicates from a flat file. I tried using SELECT (DFSORT) along with LASTDUP it removed the duplicates as expected. The sort card was like this.
But, the problem is, there were few records like this which had duplicates.
For the above record, it has removed all the data and it has given only MAILWER. Is there a way I can get the proper record.
My record length is 800.