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
 
Can we retrieve a dataset after deleting it?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
bcmohanty

New User


Joined: 17 May 2006
Posts: 17

PostPosted: Wed May 17, 2006 4:46 pm    Post subject: Can we retrieve a dataset after deleting it?
Reply with quote

can we retrieve a dataset after deleating it?????
Back to top
View user's profile Send private message

jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Wed May 17, 2006 9:23 pm    Post subject:
Reply with quote

Yes Mohanty Its possible to retrieve a dataset after deleting it..

however it depends upon profile setup.

say you have deleted the dataset 'ABCDEFG.A1234.NEWONE'


Now type TSO HRECOVER 'ABCDEFG.A1234.NEWONE' to retrieve the deleted dataset...

this process takes couple of minutes. but you should have your file back.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu May 18, 2006 9:06 am    Post subject: Re: Can we retrieve a dataset after deleting it?
Reply with quote

HI,

Quote:
can we retrieve a dataset after deleating it?????


It depends if youe admin take backup of this file then only you can retrive the deleted file.

I believe, HRECOVER command is use to recover Migrated dataset.

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
bcmohanty

New User


Joined: 17 May 2006
Posts: 17

PostPosted: Thu May 18, 2006 9:34 am    Post subject:
Reply with quote

thanks 2 u all,
hrecover is used to retreve the dataset
hrecall is used to recover the migrated dataset
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu May 18, 2006 9:47 am    Post subject: Re: Can we retrieve a dataset after deleting it?
Reply with quote

HI Bcmohanty

Thnaks al lot for correcting me. Yes Hrecover is used for Retrive the dataset but can we retrive the deleted dataset?

Thanks & Regards
Rupesh
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Thu May 18, 2006 7:16 pm    Post subject:
Reply with quote

HRECOVER is used to get back the deleted datasets
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
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

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