View previous topic :: View next topic
|
Author |
Message |
rechie jocson
New User
Joined: 13 Oct 2008 Posts: 6 Location: Philippines
|
|
|
|
Hi All,
I am creating a test regarding GDGs and have a requirement to create a GDG generation that is 2 years old from now. Let's say Today's date is 10/13/2008,I need to create a generation that has a creation date of 10/12/2006.
Any tool i could use? or sample Job that would be very helpful!
Rechie |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
why would you want to do that ?
I'm sure the date can be zapped but why?
Gerry |
|
Back to top |
|
|
rechie jocson
New User
Joined: 13 Oct 2008 Posts: 6 Location: Philippines
|
|
|
|
Hi Gerry,
I need to test the retention period of the GDG that will stay for two years. In order to test that, I should create a gneration that is 2 years old from today. Upon doing that, I could verify that the GDG will be rolled off after 2 years.
Is there a utility for this?
Thanks Gerry.
Rechie |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
how many GDG's will be crated in a 2 year period ?
Gerry |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
correction, I meant created .
Gerry |
|
Back to top |
|
|
rechie jocson
New User
Joined: 13 Oct 2008 Posts: 6 Location: Philippines
|
|
|
|
Hi Gerry,
24 GDGs all in all. 1 generation per month. All should have a retention period of two years.
Rechie |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
if you build the GDGbase with 24 entries( with scratch and noempty options), the oldest one will not roll off until the 25th one is created.
For tape files you need to create the files with LABEL=EXPDT=99000 ie.
under catalog control.
Gerry |
|
Back to top |
|
|
rechie jocson
New User
Joined: 13 Oct 2008 Posts: 6 Location: Philippines
|
|
|
|
HI Gerry,
The issue is because of the retention period, even when the 25th generation is created, the first generation is still available.
All the GDGs are created with the retention period of 2 years (RETPD=730). So the when the 25th generation is created, the first generation is still there. I need to test these GDGs with the retention period of 2 years. That is why I need to mock the creation date itself.
Do you know how could I alter the Creation Date?
Thanks,
Rechie |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello Rechie and welcome to the forums,
Suggest you talk with your storage management people. Your environment most likely has many datasets that should "roll off" when they are past their expiration. I'd suggest you define your datasets the same way others with a similar retention requirement are defined.
If you want to perform a simple test, define some test files that retain 3 generatoins and create one per day and you should be able to see today's roll off by the end of the week. Again, i'd talk with the storage management people even to do this test. |
|
Back to top |
|
|
rechie jocson
New User
Joined: 13 Oct 2008 Posts: 6 Location: Philippines
|
|
|
|
Thanks Dick and Gerry,
Yup, I'll talk to them. I'm glad for the urgent response.
I never expected to have all this help just for a day.
Thank you very much guys!
More power! |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
if you have a retention specified, when the 25th GDG is created, the first GDG will be scratched and uncatalogued if the retention has expired,
if the retention has not expired the gdg will appear in
STATUS--------ROLLED-OFF
Gerry |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Is it tape or DASD ?
If DASD and you have good storage people any expiry date or retention will be ignored under SMS
If tape, make sure that the dataset is retained under catalog control so when G0025V00 is created, gen 1 gets deleted and the tape returned to scratch. |
|
Back to top |
|
|
rechie jocson
New User
Joined: 13 Oct 2008 Posts: 6 Location: Philippines
|
|
|
|
Thanks Guys,
It is DASD.
Thanks for your inputs regarding this.
So the Hierarchy on this is RETPD is higher than GDG limit?
We should wait for the file to expire before it can be uncatalouged? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
No, not at all. It all depends on how your storage people have set things up. Do they allow RETPD to be honoured or ignored.
For all datasets I set up and use a MGMTCLAS to do exactly what I want to do, and do not permit user specified RETPD or EXPDT to be honoured.
Also, there is a patch in HSM to scratch GDG datasets regardless of EXPDT or RETPD specified. |
|
Back to top |
|
|
|