I did not find exact matching post in this forum, so posting my question (sorry if similar post is hiding somewher).
I want to sort a file into multiple files in the SAME SYSIN DD *, each is based on differnet sort condition.
example, (SORT FIELDS = (1,3,CH,A) ===== want result in file 1
(SORT FIELDS = (5,9,CH,A) ===== want result in file 2
(SORT FIELDS = (15,5,CH,A) ==== " in file 3
I have tried couple of options thru google search, but its not working. I can do this in 3 simple steps but just wanted to know if there is any way to do it in single step.
Can someone help me on this.