We have recently migrated to DFSORT and having a problem when a DFSORT file in a COBOL program runs out of space with
the message SORT CAPACITY EXCEEDED. The problem is that the program always end with a zero return code. The SORT-RETURN also returns a zero code. Is there any way for the DFSORT to return a non-zero code or issue an abend when an out-of-space error occurs during sort?