how GDGs are concatinated?
Answers were Sorted based on User's Feedback
Answer / nygrande
If we use the base of the GDG only, all generations will be
concatenated.
If we want to use specific GDG generations, we can code as:
//FILEA DD DSN=NAME.OF.FILE(-5),DISP=SHR
// DD DSN=NAME.OF.FILE(-2),DISP=SHR
// DD DSN=NAME.OF.FILE(-1),DISP=SHR
// DD DSN=NAME.OF.FILE(0),DISP=SHR
or use the GDG complete DSN, as G0000V00. For example:
//FILEA DD DSN=NAME.OF.FILE.G0001V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0003V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0004V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0005V00,DISP=SHR
Is This Answer Correct ? | 2 Yes | 0 No |
What are the parameters that are used in creating a gdg?
what is the purpose of coding class parameter in job statement?
When will we need to specify Space parameter ?
what is the cond=even only
What is the purpose of include statement in a JCL?
Is condition checking possible in jcl?
How to DEBUG a JCL?
i have step1,step2,step3 from where can i start coding cond parameter ?
How to Enter The Spool Area In Real Time?
how to purge 50 initiators continuously?? console commands??
what happens in execution stage in job processing?
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??