A batch Ideal for Datacom (Ideal) program fails during a SORT operation. The issue occurs during high-volume data processing cycles when the system cannot allocate enough memory for the sort utility. The failing batch job issues the following error in the job log:
ICE039A H INSUFFICIENT MAIN STORAGE - ADD AT LEAST 16K BYTESThe failure typically occurs when the Ideal program interacts with the Multi-User Facility (MUF) to process large datasets that require external sorting.
Note that In Syncsort MFX, the matching error message is:
WER039A INSUFFICIENT VIRTUAL STORAGE
The virtual storage (REGION) allocated to the batch job is insufficient for SORT to perform the requested sort in memory. As data volume increases, the storage requirements exceed the current job or system limits.
The sort utility exceeded available 24-bit or 31-bit memory limits and was not configured to utilize 64-bit memory objects for overflow. Analysis of the job log indicates that MOSIZE was set to 0, preventing the use of 64-bit storage for memory objects.
Perform the following steps in this sequence to resolve the ICE039A error:
Enable 64-Bit Memory Objects: To allow the sort utility to use 64-bit storage, add a MEMLIMIT parameter to the EXEC statement and provide a DFSPARM control statement:
//STEPNAME EXEC PGM=IDEAL,REGION=0M,MEMLIMIT=8G
. . .
//DFSPARM DD *
OPTION MSGPRT=ALL,MOSIZE=MAX
/*
//DFSPARM DD *
OPTION MSGPRT=ALL,MOSIZE=MAX,DYNALLOC=(SYSDA,32)
/*
//DFSPARM DD *And ensure that you have the following DD Statements in your JCL:
DEBUG NOABEND
OPTION MSGPRT=ALL,MOSIZE=MAX,DYNALLOC=(SYSDA,32)
/*
//SORTDIAG DD DUMMYThen run the job again, and attach the output to your support case.
//SYSOUT DD SYSOUT=*
//SORTMSG DD SYSOUT=*
References
Users are encouraged to subscribe to this article for future updates.
For additional assistance, Contact Broadcom Support.