Calling all DF/SORT experts: Is it possible to parse a field from the input record (which floats, of course, otherwise we wouldn't be parsing), and use the located field as the sort sequence?

For example:

OUTFIL FNAMES=SORTOUT,
PARSE=(%22=(STARTAFT=C'something',ENDBEFR=C'else)',FIXLEN=10)),
BUILD=(001:%22,                    the parse field
       011:1,120)                  other stuff I want
SORT FIELDS=(%22,CH,A)             I wish to sort on %22



Apologies in advance if I failed to locate the capability in the manual.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to