Multiple Generations in a Single JCL
Question: Is it possible tocreate mutiple GDG files in a single JCL? Is it possible to pass the necessary parameters to a control card having the GG parameters and use this file as a sysin in the JCL ? Any help on this would be greatly appreciated.
Yvonne
Answer: You can create multiple generations of a GDG in the same JCL. The first generation created is +1, the second +2 etc. Generation numbers for existing generations do not change for the duration of the job. The generation numbers form part of the dataset name in the JCL so you can't pass anything on control cards although you could parameterize the entries within a PROC.


