Read System Catalog to get GDG Information?
Posted: Tue Feb 23, 2016 1:50 pm
Hi,
I would like to do something which is similar to TSO/ISPF 3.4 on the GDG base. Once you do that, the most recent generation's absolute numbers can be seen. I tried to used IDCAMS for it but it does not seem to return information in a format that can easily understood by a program.
So I want to have a JCL on mainframe which can retrieve a particular GDG's latest relative generation numbers from the catalog . And then I'll look at this result to get the relative generation numbers.
I would like to do something which is similar to TSO/ISPF 3.4 on the GDG base. Once you do that, the most recent generation's absolute numbers can be seen. I tried to used IDCAMS for it but it does not seem to return information in a format that can easily understood by a program.
So I want to have a JCL on mainframe which can retrieve a particular GDG's latest relative generation numbers from the catalog . And then I'll look at this result to get the relative generation numbers.