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 |
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?
what is the difference between static call and dynamic call?
what is the difference between the JCLLIB and JOBLIB ,and where do we use it ?
Max. No of DD statements in a job ?
How to find the length of variable length copybook using fileaid ??
How to read records in reverse order in flat file?
Explain the function of job statement in jcl?
i have a string of 80 chars i want to replace 4th char with "a"?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
how to convert fb to vb in jcl ?