How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

Answers were Sorted based on User's Feedback



How to print the Output to SPOOL using MSGCLASS and SYSOUT ? ..

Answer / vijay

a small addition with above one. we should keep our
msgclass=a then oly we can acheive to print the records of
data to spool.

Is This Answer Correct ?    5 Yes 1 No

How to print the Output to SPOOL using MSGCLASS and SYSOUT ? ..

Answer / gaurav singh pawar

give msgclass = 0
and then give//DDNAME DD sysout = *

Is This Answer Correct ?    3 Yes 1 No

How to print the Output to SPOOL using MSGCLASS and SYSOUT ? ..

Answer / vinay sonar

i dont know about MSGCLASS

For sysout use following syntax

//SYSUT1 DD DSN=PMAP391.NEW.PS,DISP=SHR
//SYSUT2 DD SYSOUT=*

Here sysout=* means SPOOL area.Keep it in mind.It has being
asked in many interviews

Is This Answer Correct ?    4 Yes 3 No

How to print the Output to SPOOL using MSGCLASS and SYSOUT ? ..

Answer / saisankar

msgclass=(1,1)


sysout=*

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More JCL Interview Questions

what JCL Procedures?

0 Answers  


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


How can a jobs execution priority be modified?

0 Answers  


In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


what is use of dsn parameter in dd statement?

0 Answers   IBM,






what is “Cond= even” and “Cond=only”?

0 Answers  


what is fixed length and variable length and difference between them

1 Answers   CGI, Wipro,


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


What is the DD statement for a output file?

3 Answers  


What is a GDG

4 Answers   IBM,


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

0 Answers  


a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file

6 Answers   ITC Infotech,


Categories