I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2.
How can I use GDG to use it as input file at step2.
Answers were Sorted based on User's Feedback
Answer / satya
//step1 dd dsn=GDG.smaplegdg.base(+1),Disp=
(new,catlg,delete)
When refering it in next step
//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / g.ranjith kumar reddy
//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr
Is This Answer Correct ? | 5 Yes | 0 No |
In the same jcl if we have to refer a GDG version which was
build in any previous step then have to mention it as (+0)
not (+1)
//STEP1 DD DSN=GDG.smaplegdg.base(+1),
Disp=(NEW,CATLG,DELETE)
//STEP2 DD DSN=GDG.smaplegdg.base(+0),DISP=SHR
Is This Answer Correct ? | 1 Yes | 21 No |
How to create delta file using JCL
what is the difference between return code and maxcc?
What is order of searching of the libraries in a JCL?
What are the parameters that are used in creating a gdg?
what is the Difference between SYSIN and PARM ?
which utility is used to sort a file in jcl?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
what are the types of abends that occur on job failure? And explain the possible causes of these
What is the use of symbol // in jcl?
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??
What are the differences between JES2 & JES3 ?
how many max steps can we use in a job? pls answer to my question