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

i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

0 Answers   IBM,


What is the difference between joblib and jcllib statements

7 Answers   IBM, Maples,


Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?

6 Answers   IBM,


whats SOC7?

1 Answers   Patni,






How do you submit JCL via a Cobol program?

4 Answers   IBM,


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

0 Answers   IBM,


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


Explain about User Information

1 Answers  


can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.

7 Answers   Accenture,


Is it possible to left uncode disp?

0 Answers  


what is a cataloged procedure ?

1 Answers   Xansa,


Categories