DFSORT needs intermediate storage to sort the log records.
//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. 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.