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 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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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