DEFINE GDG( -
I'm getting (ideally it should) the first three generation files getting rolled out/deleted. But, what i'm asking is, Is there a way we can alter the GDG limit without loosing the Generation files?ALTER SYS3VCT.GDG.BASE LIMIT(02)
In other words, if you alter the limit below the number of existing generations of the GDG, the oldest generations are rolled off -- period. You cannot change this behavior.LIMIT(limit)
Used to modify the maximum number (between 1 and 255) of active generation data sets (GDSs) that might be associated with a generation data group (GDG) base.
If the limit is less than the current number of active generations, the oldest generations are rolled off until the new limit is satisfied. Any GDSs that are rolled off by this command are listed showing their new status (recataloged, uncataloged, or deleted). For more information about limit processing of a GDS, see z/OS DFSMS Managing Catalogs.
If the limit is greater than the current number of active generations, it does not cause the roll-in of existing rolled off GDSs. For this function, see the ROLLIN parameter.