//BJCL1804 JOB 1,NOTIFY=&SYSUID
//SORT01 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SORTIN DD DISP,SHR,DSN=ZOS.PUBLIC.DATA(ASCII)
//SORTOUT DD SYSOUT=*
//SYSIN DD SYSIN=*
//SORT DD =(1,1,CH,A)
I am trying to use this JCL code and when I use the SUB command, I always get an error. Even after hours of trying and trying, I cannot seem to fix this error. I looked up the error codes from the =SD and I cannot figure out how to fix the issue. The syntax seems to be correct. I just don't understand. Can someone please help me understand why this is causing an error to occur?