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
 

 

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 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
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


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