Page 1 of 1

Verify # of GDG generations

PostPosted: Wed Sep 12, 2012 12:55 am
by wdesnoyers
Using IDCAMS, how do you determine how many generations are defined to an existing GDG?

Re: Verify # of GDG generations

PostPosted: Wed Sep 12, 2012 1:01 am
by Robert Sample
Your question is not clear as stated. If you want to know the limit, use LISTCAT ENT(gdg.name) GDG ALL and look at the HISTORY section of the output:
      HISTORY
        DATASET-OWNER-----(NULL)     CREATION--------2009.288
        RELEASE----------------2     LAST ALTER------2012.252
      ATTRIBUTES
        LIMIT-----------------32     SCRATCH          NOEMPTY


If you want to know the currently defined generations, look at the ASSOCIATIONS section of the same output.

Re: Verify # of GDG generations

PostPosted: Wed Sep 12, 2012 1:29 am
by wdesnoyers
That's right. Thank you!