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

Explain how can the attributes of one sms dataset be copied to another dataset?

0 Answers  


What is the difference between BLKSIZE and LRECL?

3 Answers  


I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.

0 Answers  


File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch

1 Answers   IBM,






My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)

11 Answers   HCL, IBM, L&T, TCS,


Explain about ISPF/TSO Commands

0 Answers  


I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.

3 Answers   iGate,


what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......

2 Answers  


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

4 Answers  


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


How to skip first step of a job? Can we use COND on the first step?

3 Answers   iNautix,


Categories