When required

One or more SORTWKdd statements are required for each sort application (but not a merge or copy), unless:
  • Input can be contained in main storage
  • Dynamic work space allocation has been requested (DYNALLOC)
  • dataspace sorting, Hipersorting, or memory object sorting is used.

For information on using work data sets, see Using work space.

Diagnostic message ICE803I gives information on intermediate storage allocation and use.