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 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
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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