Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to get a deleted dataset back?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
yogeshbabu

New User


Joined: 30 Nov 2005
Posts: 19
Location: India

PostPosted: Sat Dec 03, 2005 2:01 pm    Post subject: How to get a deleted dataset back?
Reply with quote

Hi,
I deleted a dataset by mistake.Can any one tell me how to get back the dataset which is deleted ?

Regards,
Yogesh.
Back to top
View user's profile Send private message
References
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Sun Dec 04, 2005 11:43 am    Post subject: Re: How to get a deleted dataset back?
Reply with quote

Hi yogeshbabu,

From the TSO command prompt type

Code:
hrecover 'myid.mypds'


Specify your full dataset name.
You can see as when you press enter it throws a message. If it says the statement is in queue then it takes a long time to retrieve the dataset.

Hope this helps...
Back to top
View user's profile Send private message
sairam

Active User


Joined: 30 Aug 2005
Posts: 58
Location: Kolkata

PostPosted: Fri Dec 16, 2005 4:54 pm    Post subject:
Reply with quote

Hi iknow
It is not working in my case showing invalid command.
Back to top
View user's profile Send private message
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Fri Dec 16, 2005 6:41 pm    Post subject: Re: How to get a deleted dataset back?
Reply with quote

Hi Sairam,

From the main primary options menu, TYPE 6.

You will get the TSO command prompt. Then try submitting using 'hrecover'. It should work.

Let me know in case of any concerns.
Back to top
View user's profile Send private message
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Fri Dec 16, 2005 6:46 pm    Post subject: Re: How to get a deleted dataset back?
Reply with quote

Hi,

More information on HRECOVER...

Create a backup copy of a dataset or library (if installation authorizes)

Quote:
HBACKDS dataset/library

Retrieve the most recent backup copy of a dataset or library that has been backed up

Quote:
HRECOVER dataset-name

Retrieve the backup copy of a dataset or library that was created before the most recent one

Quote:
HRECOVER dataset-name GENERATION(1)

Ask about your HRECOVER request.

Quote:
HQUERY



Hope this helps.
Back to top
View user's profile Send private message
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Fri Dec 16, 2005 6:47 pm    Post subject: Re: How to get a deleted dataset back?
Reply with quote

Hi Sairam,

Check this link for the JCL to retrieve the dataset

http://www.it.jhu.edu/etso/engineeringservices/mainframe/storageadmin.html

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1