we dont have any way to (as per my knoweldge) to find out that it has reached to it limit and now its will revolve back to generation zero.
This scnarion becomes more complex when we already have 5 version and our job creates new one so it drops the oldest generation. So if we need to keep more version or more backups we copy the current GDG into date qualified files.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
It is not the design of GDG processing to reach the limit and start over.
As new +1 versions are created, the generation increases. When the limit is reached, the early generations are "rolled off", retaining the most current "limit" generations. It is very likely that as processing continues, the generations in the catalog will be far from the 1st-5th generations. Even though the generations increase, they are still processed using (0), (-1), etc up to (-4).