Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Retention for Dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kumar1234

New User


Joined: 06 Nov 2007
Posts: 84
Location: bangalore

PostPosted: Wed Sep 28, 2011 5:38 pm    Post subject: Retention for Dataset
Reply with quote

Hi,

I want to create a production GDG dataset with a retention period of 45 days. Could you please let me know how do we set the retention period for 45 days.

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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Sep 28, 2011 5:45 pm    Post subject: Reply to: Retention for Dataset
Reply with quote

You usually can't, but if it actually is possible, you might want to check with your storage team to find out how.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Wed Sep 28, 2011 5:45 pm    Post subject: Reply to: Retention for Dataset
Reply with quote

You could find the solution Yourself by looking at the JCL manuals

but beware before using it it would be wiser to ask Your storage support...
explicit retention/expiration date on dd statements is a practice gone for a loong time
and frowned upon by storage administrators
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1775
Location: Bloomington, IL

PostPosted: Wed Sep 28, 2011 7:07 pm    Post subject: Re: Reply to: Retention for Dataset
Reply with quote

enrico-sorichetti wrote:
You could find the solution Yourself by looking at the JCL manuals

but beware before using it it would be wiser to ask Your storage support...
explicit retention/expiration date on dd statements is a practice gone for a loong time
and frowned upon by storage administrators

Again: some places, maybe many places. Maybe even in every shop but this one. But I absolutely must -- as verified by the experience of having run thousands of jobs over several years -- specify an explicit retention period or expiration date, or the data set goes into a volatile management class whose data sets are deleted at midnight.

That said, it is a very good idea to find out your shop's standards, as failing to do so and acting in ways contrary to them can be a career-limiting move.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Wed Sep 28, 2011 7:20 pm    Post subject: Reply to: Retention for Dataset
Reply with quote

it' s interesting to notice how practices differ around IT shops ...
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: Sat Oct 01, 2011 3:12 pm    Post subject:
Reply with quote

If the ACS routines are set up by me, explicit retention / expiry are forbidden icon_razz.gif
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1868
Location: UK

PostPosted: Sat Oct 01, 2011 10:35 pm    Post subject:
Reply with quote

If you want to keep for 45 days then set the limit on the GDG base to such a number as will cater for 45 days worth of datasets.
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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us