MF-How to retain a dataset for a specified time interval



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

MF-How to retain a dataset for a specified time interval

Postby lagon-1989 » Sun Jul 13, 2014 10:06 am

Hi All,
Can anyone give me a sample JCL to retain a dataset for a fixed period of time and avoid accidental deletion ?


Thanks
Lagon-1989
lagon-1989
 
Posts: 1
Joined: Sun Jul 13, 2014 10:02 am
Has thanked: 0 time
Been thanked: 0 time

Re: MF-How to retain a dataset for a specified time interval

 

Re: MF-How to retain a dataset for a specified time interval

Postby Akatsukami » Sun Jul 13, 2014 11:49 am

  1. Why is this post in Forum Rules?
  2. Does your shop not have procedures and policies in place already to prevent this?
  3. Are you unaware that SMS (which your shop probably, although not certainly, has) will defeat your efforts to override it?
  4. Are you unaware that an attempt to override SMS will likely get you fired?
Really, child, you're asking for our help in loading a gun and shooting yourself in the head. Few of us are so depraved as to snicker watching you follow instructions as to doing so.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: MF-How to retain a dataset for a specified time interval

Postby Robert Sample » Sun Jul 13, 2014 7:56 pm

No, nobody can give you any such JCL -- because THERE IS NO SUCH JCL! Each site sets up its own rules and procedures for allocation of data sets, how long they stay around, and what happens when they expire. So only someone working AT YOUR SITE could possibly provide you with what you asked for. No one on this forum works at your site, so we cannot provide any help.

And, as pointed out, if you are attempting to avoid site rules and procedures, there could be consequences for you in that attempt (up to and including termination of your employment).
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post