OMIT COND=(27,15,CH,EQ,C'CATALOG NAME ',OR,
27,15,CH,EQ,C'CLUSTER NAME ',OR,
27,15,CH,EQ,C'COMPONENT NAME ')
SORT FIELDS=(27,44,CH,A)
SUM FIELDS=NONE
OUTFIL OUTREC=(26C' ',27,44,C' -',8C' '),
FNAMES=(S0,S1,S2,S3,S4),SPLIT
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Yes, probably, but it would help if you showed me an example of your &&DFDSS input records and what you expect the SORT03 output records to look like before they're split. Also, what is the RECFM and LRECL of your &&DFDSS input data set.
I assume you mean one or two passes rather than one or two steps since ICETOOL can obviously do all of this in one step.
BTW, when you're checking for blanks with a condition, you only need one blank for the constant - DFSORT pads with blanks on the right to the length you specify, e.g.