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

Modify the retention period of a GDG version in a Tape


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

New User


Joined: 30 Apr 2008
Posts: 4
Location: India

PostPosted: Fri May 02, 2008 1:01 pm
Reply with quote

Hello,

My requirement is to increase the retention period of all the GDG versions. All these versions are in tape.

Thanks in advance.

Rajesh
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri May 02, 2008 1:53 pm
Reply with quote

Increase the GDG limit - or -
Talk to your storage team to do it for you
Back to top
View user's profile Send private message
macsam

New User


Joined: 30 Apr 2008
Posts: 4
Location: India

PostPosted: Fri May 02, 2008 1:59 pm
Reply with quote

I am not referring to GDG limit. I want to increase the retention period of the versions.

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

Global Moderator


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

PostPosted: Fri May 02, 2008 2:36 pm
Reply with quote

macsam wrote:
I am not referring to GDG limit. I want to increase the retention period of the versions.
Thanks

The correct term is generations not versions

So what is wrong with increasing the GDG limit, unless you want to retain the generations for longer than the 255 limit cycle timeframe. In which case I would reccomend that you use a file with perhaps a date stamp included in the dataset name, and speak to the people who control your TMS to get the correct retention set by default.

Don't forget that when you GDG generation limit is reached the catalog information is also deleted, so the only way to find out which volume they reside on is by reading the TMS reports.
Back to top
View user's profile Send private message
macsam

New User


Joined: 30 Apr 2008
Posts: 4
Location: India

PostPosted: Fri May 02, 2008 2:43 pm
Reply with quote

I already have some generation created with 360 days retention period. Now I need to modify these retention period to 1461 days. Increasing the limit of GDG will not help that.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri May 02, 2008 7:21 pm
Reply with quote

Hello,

Quote:
Now I need to modify these retention period to 1461 days.
If you work with your tape management people, they can change the retention period in the tape management system.
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri May 02, 2008 9:00 pm
Reply with quote

macsam,

If you are running CA-1, you can run a TMSUPDTE job for the volumes in question. So even though MVS rolls the GDG off, CA-1 still won't let anyone overwrite it.

//SYSIN DD *
VOL 000001,NODSN
REP E=2009/346
VOL 000004,NODSN
REP E=2009/346
VOL 000101,NODSN
REP E=2009/346
VOL 000301,NODSN
REP E=2009/346
//
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri May 02, 2008 9:04 pm
Reply with quote

P.S. For future tapes, your JCL should specify RETPD=whatever...
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri May 02, 2008 10:52 pm
Reply with quote

tchen40 wrote:
P.S. For future tapes, your JCL should specify RETPD=whatever...

The reason I suggested that the OP speak to the storage people is that at a lot of sites I have worked, the storage people can set a max retention and if the OP states a RETPD greater than that specified in the TMS defined maximum, the TMS value takes precedence and overrides the OP value.
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Tue May 13, 2008 12:59 am
Reply with quote

You can do this in different ways,

If you are using CA1 then you may use the CA1 panels to do this.

Go to CA1 panel and give the vol ser of the GDG which you want to increase the retention period and pressing enter will take you the next screen which gives you different details of this particular tape volume. Give an 'U' to update and change the EXPDT field there.

Else,

You may identify the RDS(Retention Dataset) which has the list of the datasets along with the retention period and update it there from 360 to 1461. If the entry doesnt exist, you may add this to the list of DSN's.
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Tue May 13, 2008 1:02 am
Reply with quote

RDS updates the details in the TMC(Tape Management Catalog) thus reflecting your changes.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 13, 2008 3:30 pm
Reply with quote

PRABHATH wrote:
You can do this in different ways,

If you are using CA1 then you may use the CA1 panels to do this.

Go to CA1 panel and give the vol ser of the GDG which you want to increase the retention period and pressing enter will take you the next screen which gives you different details of this particular tape volume. Give an 'U' to update and change the EXPDT field there.

Else,

You may identify the RDS(Retention Dataset) which has the list of the datasets along with the retention period and update it there from 360 to 1461. If the entry doesnt exist, you may add this to the list of DSN's.

This is only a temporary fix, and you will nedd to apply it to every new generation created.

Once more I suggest that you speak to the storage people, tell them exactly what you want (and why), and they can make A SINGLE change that will be honoured automatically when a new generation is created, so it will not get forgotten in the future. Also, a lot of sites use security to restrict access to the TMS to development people.

It may be a pain to go through proper channels, but at least it gets done properly.
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Tue May 13, 2008 4:54 pm
Reply with quote

If you want to update a single GDG version then my first way should be working and for all the GDG versions existing and which would be created later, then the second solution i gave should be working as TMC marks the tape retention basing on the rules defined in RDS. You should be having enough access authority to do so though.
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Tue May 13, 2008 4:58 pm
Reply with quote

DSN=HLQ1.HLQ2.-,LABEL=RETPD=1461

thats an example of how to include the GDG base in the RDS so that it reflects the same to the existing and the new genrations that would be created.
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 isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Deleting a Tape file JCL & VSAM 14
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
Search our Forums:

Back to Top