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
Does jcl support automatic restart?
Explain about LMQUERY�give a dialog information about a data set
Why block size is multiple of lrecl in jcl?
how JCL works?
What are steplib and joblib? What for they are used?
Explain how can return codes be tested before execution of a job step?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
When output dataset space is required, what quantity categories are used?
When space is allocated for an output dataset, what units can be used?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Brief description of inline procedure of jcl.
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Is it possible to left uncode disp?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
what is JCL?