IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Recover Deleted PS and PDS ?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vivek101227

New User


Joined: 08 May 2009
Posts: 1
Location: pune

PostPosted: Mon May 11, 2009 9:33 am
Reply with quote

Hi,

I Want to know how a deleted PS,PDS and VSAM files can be recoverd .

Thanks,
Vivek
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon May 11, 2009 11:19 am
Reply with quote

Hi,

Please search on key-word "recover' in "SMS & VSAM" part of the Forum -- you will get enough links to start with.

Here are two similar links:

www.ibmmainframes.com/viewtopic.php?t=29070&highlight=recover
www.ibmmainframes.com/viewtopic.php?t=29911&highlight=recover
Back to top
View user's profile Send private message
rajnikantvanpratiwar

New User


Joined: 01 Jul 2009
Posts: 5
Location: Pune

PostPosted: Thu Jul 02, 2009 4:37 pm
Reply with quote

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..... icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 02, 2009 5:35 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts RACF- How to find the Last access of ... All Other Mainframe Topics 7
No new posts how to recover an uncataloged VSAM da... All Other Mainframe Topics 4
No new posts Count the number of rows updated or d... DB2 6
No new posts Already written data in VSAM got dele... JCL & VSAM 6
No new posts Impact on Online Transactions:- VSAM ... CICS 2
Search our Forums:

Back to Top