ERROR: Sort failed during output after writing nnnnn observations successfully. This is an error condition that is caused by insufficient space allocations for the temporary work files.
The WORK space allocation is controlled by the prefix.PARMS JCLDEF and/or cccOPS members. Refer to section 7.3 of the component guide for the ccc step that abended and also section 188.8.131.52 of the PIOM for information on the WORK parameter in JCLDEF. You may need to regenerate the JCL after making appropriate changes.