CPA0212E   SORT Error – bad Return Code from SORT, DDname=xxxxxxxx

Explanation

The CICS PA sort module received a nonzero return code from the system sort routine attempting to sort the file xxxxxxxx.

System action

Control returns to the module that issued the sort request.

User response

Look for any system message that might be related to this error. Ensure that the SYSOUT DD statement was specified. If so, look for SORT error messages in SYSOUT. Check the JCL and data set space allocation. The space requirements vary by application and by volume of input. The data set should be a temporary sequential data set. Do not specify the record format, logical record length, or block size in the JCL. Refer to the sample JCL specification in Figure 1 for the correct JCL specification of the sort work data sets.