Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Recover Deleted PS and PDS ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to Recover Deleted PS and PDS ?
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

Senior Member


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

PostPosted: Mon May 11, 2009 11:19 am    Post subject:
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:

http://www.ibmmainframes.com/viewtopic.php?t=29070&highlight=recover
http://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    Post subject: About How to Recover Deleted PS and PDS
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: 7988
Location: Bellevue, IA

PostPosted: Thu Jul 02, 2009 5:35 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 4 Wed Jan 11, 2017 6:18 pm
No new posts Count the number of rows updated or d... Chetan Kumar DB2 6 Tue Jul 14, 2015 7:57 pm
No new posts Already written data in VSAM got dele... Tanuz JCL & VSAM 6 Fri Feb 27, 2015 2:01 pm
No new posts Impact on Online Transactions:- VSAM ... subdalal CICS 2 Thu Oct 17, 2013 10:25 am
No new posts Regd Old Dataset recover from the volume muralikrishnan_new JCL & VSAM 5 Wed Jun 19, 2013 11:37 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us