i would like getting the 25 th first columns of a sortin data.
what is wrong with just creating a new dataset? And omit the DCB values - DFSORT will handle those.
Frank Yaeger wrote:samb01,
The SORTOUT LRECL must MATCH the reformatted BUILD length. If you want output LRECL=117, you must pad the reformatted records to 117 bytes, e.g. to pad with blanks use:OUTFIL FNAMES=SORTOUT,BUILD=(1,50,117:X)i would like getting the 25 th first columns of a sortin data.
Then why are you using 50 instead of 25?