by willy jensen » Sat Mar 28, 2020 8:51 am
The MVS JCL manual is a good starting point. MSGCLASS=c in the job statement and SYSOUT=c everywhere else usually does the trick, where c=the output class assigned to a printer. For SYSOUT you can use * instead of c, it will set c= the MSGCLASS c.
CLASS is something entirely different.
Sample:
//GENER JOB (1),'GENER',CLASS=A,MSGCLASS=T
//G1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD *
kilroy
was
here
And before you ask, only your local support will know which sysout class you may use.