I'd like to concatenate 99 generations of a dataset into one file. I know how to do this by manually by keying in each generation, but it got me to wondering if it's possible to do this easier by referencing all GDG's at once? Or using some type of loop to read through all GDG's?
If possible can someone please give some JCL code examples?