| Question What is the OUTPUT JCL Statement? How do change the default destination of the SYSOUT output messages to a remote location? |
| A. When we would like to do some formatting/processing, on SYSOUT output datasets, we use a JCL Statement called OUTPUT. To specify the destination of the SYSOUT output dataset, as a remote location, we must code DEST parameter on the OUTPUT JCL Statement. //OUT1 OUTPUT DEFAULT=YES,DEST=RMT In the above example, the SYSOUT dataset output will be sent to the remote location RMT. Also, this will stand as the default. Apart from this, we can specify various options, we can print multiple copies of the output dataset, using COPIES parameter. Moreover, we can write OUTPUT statement at the job-level or step-level. To refer back to previous OUTPUT statement, we can use refer-back. Refer-back *.OUT1 - *.outname *.STEP01.OUT1 - *.stepname.outname |
|
|
|
- We are a cosmopolitan community of 400 members, from around the globe. - Working on writing and publishing articles on CICS. - Special article on "How do I learn Mainframe Programming" |
