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
 

 

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: 4648
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: 10232
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: 1753
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: 10232
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: 1756
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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