How to eliminate other common errors

DFSORT needs intermediate storage to sort the log records.

IBM® recommends that you specify DFSORT work data sets in your change accumulation JCL as follows:
 //SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(100,25)) 
 //SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(100,25)) 
 //SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(100,25)) 
SPACE=(CYL,(100,25)) is a good starting point for the space allocation. It provides 100 primary cylinders and 25*15 secondary allocation cylinders for each of the three DFSORT work data sets. If DFSORT is unable to sort the log records with this amount of intermediate storage, it terminates with error message:
ICE046A SORT CAPACITY EXCEEDED - RECORD COUNT: n 
In this case, increase the SPACE values or add additional work data sets, as appropriate, and resubmit your job.
Note: Tape sort work data sets are not supported.

If your site does not have enough work space available, you can reduce the amount of space and run the change accumulation job more frequently.