Running a Fast Load for DB2 for z/OS (PFL) load replace may result in the following errors:
PFL4020E - SORT abended - Abend Code: X'010'
PFL0008E - SORT Processing cancelled - Check SORTMSGS for problem
EMSPACE = 32768 RSRVTI = 524288
WER039A INSUFFICIENT VIRTUAL STORAGE
Increasing REGION to 0M does not resolve the problem.
Increasing the Syncsort parameter RSRVTI value from the default value of 44K to something higher such as 524288.
These options instruct sort to reserve 32K below-the-line (EMSPACE) plus 512K below-the-line (RSRVTI).
However the MAINSIZE value passed by the user program limits the sort to only 420K.
To correct the problem in PFL increase the SORT-APPLSIZE.
An example calculation to adjust the SORT-APPLSIZE is as follows:
512-44 + 420 = 888K
Set SORT-APPLSIZE to 888K in UTIL member of highlvl.CDBAPARM.