Can I change Expdt of a dataset in DASD ?



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

Can I change Expdt of a dataset in DASD ?

Postby ananth86 » Mon Jul 27, 2009 7:03 pm

Hi,
I want to know whether Changing the Expdt of a dataset is possible?
If yes then how?

My dataset is in DASD not in tape.

TIA.
ananth86
 
Posts: 12
Joined: Thu Apr 02, 2009 12:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I change Expdt of a dataset in DASD ?

Postby expat » Mon Jul 27, 2009 7:43 pm

The safest thing to do is to talk to your storage management people. If the SMS ACS routines are correctly set up you will not be able to change the retention criteria applied by the MGMTCLAS applied to your dataset.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: Can I change Expdt of a dataset in DASD ?

Postby ananth86 » Tue Jul 28, 2009 12:57 pm

If the dataset resides in a volume that s not SMS managed then?
Any possiblities?
ananth86
 
Posts: 12
Joined: Thu Apr 02, 2009 12:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I change Expdt of a dataset in DASD ?

Postby expat » Tue Jul 28, 2009 4:29 pm

Still talk to your storage people, they know the setup better than anyone else.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: Can I change Expdt of a dataset in DASD ?

Postby Anuj Dhawan » Tue Jul 28, 2009 6:57 pm

If you create an SMS managed data set with an expiration date. The expiration date showed up in the VTOC and in the catalog entry.

Then delete the data set and reallocate it on a non-SMS managed volume. The expiration date will show up in the VTOC, but not in the catalog entry.

At my shop, I then repeated the test. I was able to update both the catalog entry and the VTOC for the SMS managed data set. I was able to update the catalog entry, but not the VTOC, for the non-SMS managed data set.

Note: You cannot use the EXPDT parameter to change the expiration date of an existing SMS data set.
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: Can I change Expdt of a dataset in DASD ?

Postby ananth86 » Tue Jul 28, 2009 7:31 pm

I was able to update the catalog entry, but not the VTOC, for the non-SMS managed data set.


If this is possible then.. i m updating my expdt in catalog as 2009.300 and in VTOC if its 2009.350..
Then "listds / history "ll give u which date?
ananth86
 
Posts: 12
Joined: Thu Apr 02, 2009 12:47 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post