| Jean-Pierre,
When sorting a file with variable length records, SORT creates a
workfile with *fixed length* records of sufficient size for all the
input records. So, if your input file reports an LRL of 32765 and has
(say) 100,000 records, SORT will attempt to create a workfile of
around 6,500,000 blocks. Usually enough to DEVICETFULL most disks.
Even if there is sufficient space to create the workfile, performance
isn't too good.
Try SET FILE/ATTRIB=(MRS:100,LRL:100) on the input file and see if
it makes a difference. If you have a more accurate figure for the
actual longest record, use that.
John Gillings, Sydney CSC
|