IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

relation b/w Retention and limit for GDG's


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smita V

New User


Joined: 05 Nov 2007
Posts: 11
Location: hyderabad

PostPosted: Tue Jul 22, 2008 3:42 pm
Reply with quote

Hi,

I want to know the how the limit and retention period for GDG datasets works in relation to each other.

I am assuming that by retension period we are meaning the numbers of days each GDG version of a particular cluster will be available and Limit as the number of GDG versions that we can have for max. Correct me if I am wrong.

If I am keeping the Limit as 3 and Retension period as 10 days using FOR parameter while defining a cluster and creating a new version each day.

Then on 4th day will the fourth generation will be created since the limit is 3? and if it happens what will happen to the first version of the GDG, the retention period of which is not met on 4th day.

Iam using SCRATCH option while defining the cluster.

Thanks,
Smita
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 22, 2008 3:49 pm
Reply with quote

1) I assume that by CLUSTER that you really mean GDG base
2) I also assume that you mean to say generations rather than versions. Generations and versions are both valid terms in GDG parlance, but have totally different meanings

What happend to gen 0001 when 0004 is created - well to be real picky this is a site specific question as what happens to gen 0001 will depend on how your storage people have set up the SMS environment.

They may have set it up to honor your 10 day retention by retaining the deleted gens in ROLLED OFF status, or they may have set it up to ignore user supplied retention (I always do icon_lol.gif )

Also there may be backups available which will honour the 10 day retention of each generation. Either that or actually try it yourself and see what happens.

The very best bet is go talk to your storage people to get the info that you require.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jul 22, 2008 4:04 pm
Reply with quote

Hi,

Trying to take the exapt's legacy little more ahead -

Quote:
I am assuming that by retension period we are meaning the numbers of days each GDG version of a particular cluster will be available and Limit as the number of GDG versions that we can have for max. Correct me if I am wrong.
Term "Retention period" is not limited to GDGs only, this is equally applicable to a sequential data set, a PDS, or a VSAM data. The MGMTCLAS parameter provides the management class to be used for a sequential data set, a PDS, or a VSAM data set that you are creating. And yes given an individual GDG, it has all the qualities of an QSAM.

Quote:
Then on 4th day will the fourth generation will be created since the limit is 3? and if it happens what will happen to the first version of the GDG, the retention period of which is not met on 4th day.
This is not the concept on which GDGs were build up, they say, if limit is "3" then at a given instant there will be 3-different generations (Expat sir, I recall something.. icon_smile.gif ) in the catalog, if on "4th" day a new generation forces to come in existance the most old GDG has "to die little younger"; alas, they are GDGs..& here retention period is not the enemy. Instead if 4th generation will be created on 11th day then very first GDG would be found "migrated"; this migration is because the retention period limit of "10 days".
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Jul 22, 2008 4:26 pm
Reply with quote

Hi,

usually GDG's are rolled off when the max limit has been reached and the expiry date has not passed, the job creating the new GDG will normally throw up a message of the GDG that was not able to be scratched.

As far as the GDG would be found to be migrated is up to the MGMTCLAS and nothing to do with the retention period.

Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Expand ISPF field up to a limit - is ... TSO/ISPF 9
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
No new posts Any limit on usage of cursors ? DB2 1
This topic is locked: you cannot edit posts or make replies. Removing duplicate record based on th... DFSORT/ICETOOL 4
No new posts SDSF limit access to specifc output c... All Other Mainframe Topics 1
Search our Forums:

Back to Top