RICHINMINN
Programmer
- Dec 31, 2001
- 138
I can't find a forum that is dedicated to IBM MVS JCL, so I'll post this question here, and perhaps someone can point me to the correct forum.
I need to process all generations of a GDG in order of creation date/time. There is currently a maximum of 5 gens, but the number of gens can vary, so I can't just hardcode the gens in (-4), (-3), (-2), (-1), and (0) sequence. If I read the GDG base, I get all generations, but in newest-to-oldest sequence. (Right?) Is there some way to read the GDG base, but have the generations processed in oldest-to-newest sequence?
Thanks for your assistance.
Rich (in Minn.)
I need to process all generations of a GDG in order of creation date/time. There is currently a maximum of 5 gens, but the number of gens can vary, so I can't just hardcode the gens in (-4), (-3), (-2), (-1), and (0) sequence. If I read the GDG base, I get all generations, but in newest-to-oldest sequence. (Right?) Is there some way to read the GDG base, but have the generations processed in oldest-to-newest sequence?
Thanks for your assistance.
Rich (in Minn.)