superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
lucky.rohith wrote: |
Wht is the maximum no. of generations in a GDG,whether it is 255 or 9999? |
First, take a look here at Chapter 29. Processing Generation Data Groups in the z/OS V1R6.0 DFSMS: Using Data Sets manual, and
here at Topic 15. DEFINE GENERATIONDATAGROUP in the z/OS V1R7.0 DFSMS Access Method Services for Catalogs manual.
The maximum value for LIMIT when defining the GDG base is 255. The LIMIT determines how many generations can be accessed by relative access (i.e. 0, -1, -2,...-254, etc.). The settings for ERASE and SCRATCH determine what happens when the next cataloged dataset exceeds the specified LIMIT. With NOERASE and NOSCRATCH, the first cataloged dataset that exceeds the LIMIT will be "rolled out" of the Generation Data Group, but will still be cataloged, and the newest dataset "rolled in". With this setting, you can keep up to 9999 GDG datasets cataloged. Once generation 9999 is reached, the generation number rolls back to 0001. |
|