what is the purpose of SYSOUT parameter in the DD statement?



what is the purpose of SYSOUT parameter in the DD statement?..

Answer / robin

SYSOUT is used to give the output of the program executed in
the step. WHatever the output is there, it can be printed in
SYSOUT. If SYSOUT is followed by DD and a dataset name, the
output is stored in that file, and if SYSOUT is followed by
DD and *, output is shown in spool itself.
The two types of statements are given below :-

SYSOUT DD DSN=dataset.name

or

SYSOUT DD DSN=*

Is This Answer Correct ?    34 Yes 5 No

Post New Answer

More JCL Interview Questions

I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

0 Answers  


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


What is DYNAMBR in jcl?

2 Answers   CTS,


What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.

0 Answers  






Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

1 Answers   IBM,


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  


what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.

6 Answers   HCL,


On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?

2 Answers  


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?

7 Answers  


Categories