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

Can dataset can retrieve once deleted


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rana_arun

New User


Joined: 14 Mar 2007
Posts: 1
Location: Mumbai

PostPosted: Thu May 10, 2007 8:30 am
Reply with quote

Can dataset can be retieve by anymeans, once it is deleted by mistake
Back to top
View user's profile Send private message
Sandeep More

New User


Joined: 05 May 2007
Posts: 2
Location: Mumbai

PostPosted: Thu May 10, 2007 9:50 am
Reply with quote

rana_arun wrote:
Can dataset can be retieve by anymeans, once it is deleted by mistake



Hi,
It depends on the installation.
Some times they do keep back up of data....
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu May 10, 2007 10:30 am
Reply with quote

Talk to your Storage Management group, they might be able to restore.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 10, 2007 12:10 pm
Reply with quote

If it's on tape, and the tape has not been written to since deletion, then yes, get the tape people to recatalog it and you should be OK.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 10, 2007 8:23 pm
Reply with quote

Hello,

If it was on dasd when a volume backup was created (and the backup still exists), your storage people may be able to retrieve it for you.
Back to top
View user's profile Send private message
Ankush koul

New User


Joined: 13 May 2007
Posts: 1
Location: India

PostPosted: Mon May 14, 2007 6:38 pm
Reply with quote

Hi,

For recovering a member of a PDS ?.

You can recover a deleted member from a PDS if it was NOT COMPRESSED or if it was NOT a PDSE. Below are the steps to be followed:-

It is done using Ezyedit.

1) Type EZY on the command prompt. In the initial screen type RECOVER in the function field and the PDS number in the DSN/Variable # field.

2) Press ENTER and you will see a report. When Ezyedit recovers the members it will name them as ZZZ00001, ZZZ00002 and so on. You need to find out the exact member you are looking for and rename them accordingly.

For recovering the entire PDS ?

1) Type 'TSO HLIST DS('dataset name') BCDS'

2) Press Enter, you will get the information of the backups taken by HSM.
3) You can recover the datasets using the following command:-

TSO HRECOVER 'dataset name' gen(gen-number) newname(NEW-DATASET-NAME)

Where dataset name is the dataset you want to recover, gen-number can be 000, 001 and 002 depending on the backups you want to recover (000 being the latest) and NEW-DATASET-NAME is the name of dataset you want to create.

Note: Even for recovering the PDS member there has to be a backup taken for the specified dataset by HSM which can be checked by TSO command mentioned previously.
Hope this helps,
ank
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top