extend the expiration date of a dataset.
-
- Registered Member
- Posts: 15
- Joined: Sat Jan 16, 2016 12:46 pm
extend the expiration date of a dataset.
Hi,
One of the question which I have never experienced in real life wasasked in this interview. Question goes like this, is it possible to extend the expiration date of a dataset? If we can do so, what is the command for it or do we need to write some JCL for it?
I have searched about it on google but I could really find out how to get it. It is also said that it should be done, why?
One of the question which I have never experienced in real life wasasked in this interview. Question goes like this, is it possible to extend the expiration date of a dataset? If we can do so, what is the command for it or do we need to write some JCL for it?
I have searched about it on google but I could really find out how to get it. It is also said that it should be done, why?
- Akatsukami
- Global Moderator
- Posts: 122
- Joined: Tue Oct 20, 2015 3:20 am
- Location: Bloomington, IL
- Contact:
Re: extend the expiration date of a dataset.
You can do this using the ALTER command of IDCAMS. Whether you do it online or batch, and whether there is standard JCL, is of course dependent on your installation's standards.
Note that this may, in real life, be a futile, even dangerous, effort. Usually data sets on DASD do not have an explicit expiration date, and an attempt to give such a data set one will likely be overridden by SMS, if it is active. Moreover, what appear to be attempts to circumvent SMS may result in negative attention from corporate security, and be punished by actions up to and including termination.
Note that this may, in real life, be a futile, even dangerous, effort. Usually data sets on DASD do not have an explicit expiration date, and an attempt to give such a data set one will likely be overridden by SMS, if it is active. Moreover, what appear to be attempts to circumvent SMS may result in negative attention from corporate security, and be punished by actions up to and including termination.
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: extend the expiration date of a dataset.
Using DISP=MOD and a new expiration date can extend the date. SMS allows a default expiration date (retention period) in the management class, which may invalidate this. Finally, tape management systems usually control tape expiration, so unless the expiration date is changed in both the tape management system AND the operating system, they will be out of sync and hence could cause unpredictable results.
It's an odd interview question that doesn't really address the complexities that can ensue.
It's an odd interview question that doesn't really address the complexities that can ensue.
-
- Registered Member
- Posts: 15
- Joined: Sat Jan 16, 2016 12:46 pm
Re: extend the expiration date of a dataset.
Thanks both.
Why would it lead to a termination? You mean job termination, right? Why would this happen just changing the expiry date of the dataset?Akatsukami wrote: Note that this may, in real life, be a futile, even dangerous, effort. Usually data sets on DASD do not have an explicit expiration date, and an attempt to give such a data set one will likely be overridden by SMS, if it is active. Moreover, what appear to be attempts to circumvent SMS may result in negative attention from corporate security, and be punished by actions up to and including termination.
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: extend the expiration date of a dataset.
"Termination" in this context is referring to employee termination for cause. Company managers do NOT like people attempting to avoid their established policies and procedures (especially security policies that control data set expiration), and attempting to change the expiry date of a data set without the advice and consent of the site support group could be seen as just such an action. It may not lead to employee termination, but that is one possible outcome of the course of action you are talking about.Why would it lead to a termination? You mean job termination, right? Why would this happen just changing the expiry date of the dataset?
-
- Registered Member
- Posts: 15
- Joined: Sat Jan 16, 2016 12:46 pm
Re: extend the expiration date of a dataset.
I was not aware about the severity of this. But if do it under proper supervision, will that still cause a problem? I think, no?Robert Sample wrote:"Termination" in this context is referring to employee termination for cause. Company managers do NOT like people attempting to avoid their established policies and procedures (especially security policies that control data set expiration), and attempting to change the expiry date of a data set without the advice and consent of the site support group could be seen as just such an action. It may not lead to employee termination, but that is one possible outcome of the course of action you are talking about.Why would it lead to a termination? You mean job termination, right? Why would this happen just changing the expiry date of the dataset?
-
- Registered Member
- Posts: 15
- Joined: Sat Jan 16, 2016 12:46 pm
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute