Bulletin Board

What’s new at MAINFRAMES 360
(Updates June '10)...
- I am writing articles on CICS. The effort would be to make the material of certain standard, practical and easy to comprehend.
- JCL needs fresh look, and more weightage needs to assigned to conventions and practises adopted in Production Environments at most sites
- A note of appreciation : Thanks to all our followers, for making Mainframes360 a success!

Mainframes360 Search

Loading

Quick Links

Jump to :  

Wednesday, April 1, 2009

OUTPUT Statement – Changing default SYSOUT output to a remote location


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

0 comments:

Post a Comment

Related Posts with Thumbnails

Quick Links

Jump to :  

Note :

© Copyright – Quasar Chunawalla, 2010.
Note : The copyrights of all the material, text and pictures posted in this website belong to the author. Any instance of lifting the material from this website, shall be considered as an act of plagiarism. For any clarifications, please mail at quasar.chunawalla@gmail.com
 
back to top