Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Modify the retention period of a GDG version in a Tape

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Modify the retention period of a GDG version in a Tape
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 02, 2008 1:53 pm    Post subject:
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    Post subject: Reply to: Modify the retention period of a GDG version in a
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 02, 2008 2:36 pm    Post subject: Re: Reply to: Modify the retention period of a GDG version i
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    Post subject: Reply to: Modify the retention period of a GDG version in a
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

Site Director


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

PostPosted: Fri May 02, 2008 7:21 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 02, 2008 10:52 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue May 13, 2008 3:30 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us