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 statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Explain about LMPUT-
i created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?
what is check pending option
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
How many instream we can write in single jcl?
What is meant by S0C7 system abend code?
how do u see jobs submitted before ur job ?
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
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?
What is use of restart and how to use it?