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.
Answer Posted / vaneesh khurana
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 |
Post New Answer View All Answers
What is job control language?
Where can program checkpoints be stored for use in a restart?
Differentiate between the joblib and the steplib statements?
What is the purpose of dd?
How can a fb file convert to vb file using sort program?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Is it possible to left uncode disp?
what operation is performed by job statement?
what is use of dcb parameter in dd statement?
what is the use of JCL?
What are the jcl procedures?
How do you overcome this limitation ?
Are there any set of rules for the names of the steps used in a job? What are they?
Is it possible to define dd statements as you want?
Is their any set of rules for dd? Explain.