How to obtain DFSORT messages

To diagnose problems using DFSORT, you must be able to see the DFSORT messages and control statements in the DWWSORT message data set.

DFSORT messages start with 'ICE'. If you receive a condition code of 20 or do not see the DFSORT messages and control statements, add the following to your change accumulation JCL:
 //DWWSORT DD SYSOUT=A 
and resubmit your job.
If you still do not see the DFSORT messages and control statements in the DWWSORT message data set, add the following to your change accumulation JCL:
//SORTDIAG DD DUMMY 
to force out the DFSORT messages and control statements, and resubmit your job.