Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
View previous topic :: :: View next topic  
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

iknow

Active User


Joined: 22 Aug 2005
Posts: 413
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

New 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

Active User


Joined: 22 Aug 2005
Posts: 413
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

Active User


Joined: 22 Aug 2005
Posts: 413
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us