I need to remove only selected duplicate rows from the PS file using SORT JCL. In the below example, need to remove duplicates only for AAA and DDD. The BBB shouldn't be touched. Please tell me if it can done in single SORT step.
How do you select AAA or DDD? Can it be something else.? What about the input RECFM LRECL etc.
You have been here long enough to learn to use Code tags. It may not matter to the above sample data posted, please keep it in mind for your future posts that include code or data.
You might want to give another try at explaining what are you trying to achieve to get useful responses. Good luck.
Why do you think this link won’t help getting you direction to solve your problem? You need to do research basically to get to the same/similar post which has been already discussed in past and this being the most recent one.
Joined: 10 May 2007 Posts: 2255 Location: Hampshire, UK
You can not do it with "sort JCL". JCL does not manipulate data. It tells the operating system what programs you want executed and the resources required. You should know that after at least 13 years in the business and you should know that the correc terminology is control statements. (No need to mention sort as you posted in the a Sort forum.)