I'm sorting a work file by 2 fields:
//SYSIN DD *
SORT FIELDS=(1,2,CH,A,5,8,CH,A),
FILSZ=E10000
I want to exclude any lines that have '**' in positions 1-2 from being sorted. These lines are currently at the bottom of the work file and I want to keep them there. They currently get included in the sort and moved to the top of the output file.
I tried excluding it with "INCLUDE COND" but that removes the data completely. Is it possible to keep the data, but have the SORT ignore it so that it does not get included in the sort?