How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Answer Posted / 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 |
Post New Answer View All Answers
What is notcat 2 - gs?
Explain the function of the steplib dd statement?
What is the function of the dd mgmtclas keyword in sms datasets?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is the function of a dd statement?
Is it possible to define dd statements as you want?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What is timing concept in mainframe?
What is the function of the dd avgrec keyword in sms datasets?
when does a dataset go uncataloged?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Can I share my data with other jobs? How?
What is the significance of addrspc parameter in the exec statement?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How does the jcl specify the job to os?