View previous topic :: View next topic
|
Author |
Message |
vivek101227
New User
Joined: 08 May 2009 Posts: 1 Location: pune
|
|
|
|
Hi,
I Want to know how a deleted PS,PDS and VSAM files can be recoverd .
Thanks,
Vivek |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
rajnikantvanpratiwar
New User
Joined: 01 Jul 2009 Posts: 5 Location: Pune
|
|
|
|
HRECOVER dataset-name will retrieve the dataset. But note that at the time of retrieval there should not exist another dataset with the same name.
HRECOVER dataset-name GENERATION (1) This will retrieve the 1 version older than the latest one DELETED. (For example you created a dataset on 17/06/2002. Changed it on 18/06/2002. Now you have deleted the dataset on 19/06/2002. The above command will retrieve the dataset as on 17/06/2002.)
If there is already an existing dataset with the name which you are retrieving.
You can either give a new name for the retrieved dataset or replace the existing dataset.
I think this much is sufficient to clear you..... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Rajnikant, you are assuming (1) that the data sets are under HSM control (which is not always the case), and (2) every site's HSM policies work just like yours do (never a good assumption to make).
Vivek: first you need to know if the data sets are under HSM control -- if so, the HRECOVER command Rajnikant posted will work for you. If they are not, then you must restore from a back up. There may be a system back up taken that could be used, or an application back up. If there was no back up made, and the data set is not under HSM control, then you cannot recover the deleted data set. |
|
Back to top |
|
|
|