My input PS file is FB and record length of 135 bytes. The key value in the file is located from column 32 to 45 (i.e. 14 bytes).
At any time I have only two duplicate records in the input file based on the key value.
//SYSIN DD *
If I use the above control card, it eliminates the second duplicate record and writes the first duplicate record in the output file.
But I want second duplicate record instead of first duplicate record in the output file. Please help me on the same...