>> Because my input is a VBA file (out of my control), some of the records are >> much shorter than my SORT FIELDS location.
Billy, Ideally you can use VLSHRT for padding short records for SORTING. However, if you use INREC/OUTREC , it will not work. So, if you want to use INREC editing you need to PUSH the contents right after RDW to retain the variable length records. If you don't care about variable lengths of the output file then use IFOUTLEN= nnn ( where nnn= max length of the overlay/push record). Alternatively, if you show me the control cards I can show you the optimal way of achieving the results. Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN