title: How to get the Cobol DISPLAY to work in a JCL so that I can see the output message to use them as a debug?
body: <p>I am working on a Cobol program and need the DISPLAY to print messages so that I can see them when I run the program. I thought that it was SYSOUC that was used to write this type of Cobol Message but I cannot get it to display and it should be so that i can view it and just see the displays or at least that is what I thought.</p>
  
  <p>Question: How do I get the DISPLAY in Cobol to display messages?</p>
  
  <pre><code>//STEP2      EXEC PGM=MyProgram,REGION=32M,COND=(0,NE)          
  //STEPLIB     DD DSN=MyPrgram,DISP=SHR              
  //SYSOUT      DD SYSOUT=1   --system messages                  
  //SYSDBOUT    DD SYSOUT=1                                      
  //SYSOUC      DD SYSOUT=3   --display                          
  //SYSPRINT    DD SYSOUT=1                                      
  //SYSUDUMP    DD SYSOUT=1                                      
  //INPUT1      DD DSN=MyFile,DISP=SHR,BUFNO=30            
  //INPUT2      DD DSN=CDP.PARMLIB(SomeParmCard),DISP=SHR            
  //OUTPUT1     DD DSN=&amp;&amp;Temp,DISP=(,PASS),UNIT=SYSDA,            
  //            DCB=aaaa.bbbb.MODEL,MGMTCLAS=TMM               
  //PRTOUTA     DD SYSOUT=2,DCB=(BLKSIZE=0,LRECL=133,RECFM=FBM)  
  </code></pre>