APCS5104 Return code 20 was returned by SORT.

Document ID : KB000115337
Last Modified Date : 19/09/2018
Show Technical Document Details
Issue:
After installing z/OS 2.2 getting an error in the online support facility.
Error :: APCS 5104-01 return code 0020 was returned back sort. 
Environment:
PanApt 3.2
 
Resolution:
Allocate a SYSOUT DD in the logon proc or clist.

This is documented in the PanAPT Install Guide under Verify Installation Checklist - Create TSO Logon Procedure:
The SYSOUT DD is required by some sort programs. Without it, the sort might pass back a non-zero return code, causing online reports to fail.