Question:
How to change the JES2 output class within CTS.
Answer:
DD's for CAIMSG and CAISNP are dynamically allocated by CTS and the output is directed to the default SYSOUT class. The default SYSOUT class is established by the JES2 OUTPUT JCL statement named SPINOFF in the CTS startup procedure.
You can redirect the SYSOUT to a specific class by changing the SPIN parameter in the CTS JCL.
You can also elect to suppress output to the DD's by entering the CTS SET command at the system console. The SET NOLOG command suppresses the output to the CAIMSG DD and the SET NOSNAP command suppresses the output to the CAISNP DD.
Change the following to class X:
// SPIN='A', to // SPIN='X', //CTS PROC LAB1='A', // LAB2='A', // LAB3='A', // LBL='TMELBLS', // PRM=, // SOUT='*', // SPIN='A', <<<<< change // START='CTSSTART', // WRKUNIT='SYSDA' //CAIMSG DD SYSOUT=&SOUT //SPINOFF OUTPUT CLASS=&SPIN SYSOUT FOR SPINOFF