Verify # of GDG generations



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Verify # of GDG generations

Postby wdesnoyers » Wed Sep 12, 2012 12:55 am

Using IDCAMS, how do you determine how many generations are defined to an existing GDG?
wdesnoyers
 
Posts: 2
Joined: Wed Sep 12, 2012 12:50 am
Has thanked: 0 time
Been thanked: 0 time

Re: Verify # of GDG generations

 

Re: Verify # of GDG generations

Postby Robert Sample » Wed Sep 12, 2012 1:01 am

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: Verify # of GDG generations

Postby wdesnoyers » Wed Sep 12, 2012 1:29 am

That's right. Thank you!
wdesnoyers
 
Posts: 2
Joined: Wed Sep 12, 2012 12:50 am
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post