At 19:45 -0500 on 02/13/2014, Micheal Butz wrote about Re: WER027A control field beyond record:

SORT FIELDS=(150,4,4,4,A,158,17,A),FORMAT=BI
 MODS.    E35=(SORTEX,20000,STEPLIB)
END

There are a number of records less than 158
Thanks

Sent from my iPhone

I assume that your records are V not F format (since they are not all the same length). One trick to solve the issue might be to also have an E15 exit which inspects the records and if they are shorter than 174 bytes long (the last sort field sorts on bytes 158-174) pads them to that length. How this will affect the programs that read the sorted file is a separate issue (if they care about those fields).

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to