Problem:
Trouble sorting a very large file sequential. For example, In the xfh-default:
[XFH-DEFAULT]
FILEMAXSIZE=8
This file is non-fileshare and is defined as a line sequential. The sort always abends at the same record number no matter how much free space is available.
Is it necessary to specify any sortwrk parms or does sortwrk take the xfh-default? Are there any limits to the number of input records or sizes when it comes to sort?
Resolution:
1) gigs free doesn't mean its good free space - First check a defrag analysis and defrag if needed;
2) check where temp and tmp are pointing to and make sure this area is not Restricted to a certain size (e.g. its pointing to c: and all the free space is on d:);
3) Rule of thumb has always been that the temporary space required to sort a file is 2.5 times the size of the file. So if the file is 25 GB, the required temporary free space would be over 60 GB (62.5). So there is not enough free space at 55.5Gb, on the drive.
#COBOL
#RMCOBOL
#AcuCobol
#netexpress
#ServerExpress