ICE046ASORT CAPACITY EXCEEDED - RECORD COUNT: n

SORT CAPACITY EXCEEDED - RECORD COUNT: n

Explanation

Critical. DFSORT was not able to complete processing with the intermediate storage available (Hiperspace or disk work data sets). For work data sets with secondary allocation allowed, DFSORT overrides system B37 abends and continues processing; this message is issued only when no more space is available in Hiperspace or on any allocated work data set.

Note: DFSORT uses only the first volume of multi-volume work data sets.

The count n is either an approximation of the number of records or is the total number of records that DFSORT was able to read in before it used all of the available intermediate storage.

The amount of intermediate storage required can vary depending on many factors including:
  • The amount of Hiperspace DFSORT is able to use at the time the sort is run
  • The amount of main storage available
  • The degree of randomness of the records to be sorted
  • The values specified (or defaulted) for options such as DYNALOC, DYNAUTO, DYNSPC, FILSZ/SIZE, AVGRLEN, or DYNALLOC
  • The amount of padding required for short records when VLSHRT is in effect.

System action

The program terminates.

Programmer response

Take one or more of the following actions:
  • If dynamic allocation was used, refer to message ICE254I (if issued) for more information.
  • If JCL work data sets were used, increase the amount of work space available to DFSORT.
  • If message ICE118I was received, refer to message ICE253I for more information
  • If you are sorting variable length records, refer to message ICE098I for more information.
  • If appropriate, increase the amount of main storage available to DFSORT using the options MAINSIZE/SIZE or the JCL option REGION. Increasing the amount of main storage available to DFSORT can help DFSORT use less intermediate storage. Avoid running a large sort in a small amount of main storage as this can degrade performance and increase intermediate storage requirements. In some cases, a small amount of main storage can force DFSORT to perform an intermediate merge as indicated by message ICE247I; refer to ICE247I for more information on the consequences of an intermediate merge and how to avoid it.
  • If VLSHRT was in effect and the total size of all control fields was significantly larger than the average LRECL for the data set, you may be able to reduce the amount of work space required by reducing the total size of the control fields.