How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Answers were Sorted based on User's Feedback
Answer / gaurav singh pawar
give msgclass = 0
and then give//DDNAME DD sysout = *
Is This Answer Correct ? | 3 Yes | 1 No |
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 |
what JCL Procedures?
Describe the DD statement, its meaning, syntax and keywords?
How can a jobs execution priority be modified?
In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?
what is use of dsn parameter in dd statement?
what is “Cond= even” and “Cond=only”?
what is fixed length and variable length and difference between them
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the DD statement for a output file?
What is a GDG
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
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