IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regain or Undelete the deleted file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Wed Jun 22, 2005 9:25 pm
Reply with quote

hi

i deleted one file i want regain the file which i deleted is it possible
Back to top
View user's profile Send private message
yogesh

New User


Joined: 27 May 2005
Posts: 21

PostPosted: Thu Jun 23, 2005 4:53 pm
Reply with quote

no, its is not possible.
Back to top
View user's profile Send private message
sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 23, 2005 5:43 pm
Reply with quote

Definetly not Possible
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Thu Jun 23, 2005 6:28 pm
Reply with quote

Hi Ramesh!

If the datasets were taken as backup, then thru hrecover command we can recall. Just give a try
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Thu Jun 23, 2005 6:35 pm
Reply with quote

Try with options E.H.L....

It'll take you to HSM Recovery, If enabled.
Recover Dataset, If you find it there enlisted.

Regards,

Priyesh.
Back to top
View user's profile Send private message
sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Fri Jun 24, 2005 10:29 am
Reply with quote

Hi,

I remember Hrecover is used when dataset is migrated and is spanning across volumes we use this command.

Let me Know if it can used for any other purpose still
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Jun 24, 2005 2:10 pm
Reply with quote

Hi Sudheer!

I guess you are talking about hrecall. If any datasets are migrated then we can recall them thru hrecall command. But if any PDS or any file is deleted, sometimes we can regain back thru hrecover command.
Back to top
View user's profile Send private message
pkmainframe

New User


Joined: 14 Jun 2005
Posts: 16
Location: India

PostPosted: Fri Jun 24, 2005 2:32 pm
Reply with quote

Hi,
by giving the tso command storagemgkt you will get a menu thru that if you know the volume serieal no. you can able to recover the deleted, files, as for as my knowledge for hrecall is only for the migrated dataset on differnet volumes. let me know if you any question.

tx
Back to top
View user's profile Send private message
subhi_dhanbad

New User


Joined: 17 May 2005
Posts: 11
Location: India/chennai

PostPosted: Fri Jun 24, 2005 2:33 pm
Reply with quote

Hi,

When a file is not used for a long time , it is migrated to TAPE from DASD.
Since we can't read any file residing on TAPE , so we call the file from TAPE to DASD by using this command.


Thanks,
Subhi.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Jun 24, 2005 2:51 pm
Reply with quote

Hi Everyone!

let us not divert the topic to hrecall command.

Ramesh- Are you still there with us. Try to regain the dataset thru hrecover command and let us know the result.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Fri Jun 24, 2005 3:05 pm
Reply with quote

Hi,
See this for HRECOVER
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1U304/2.10?SHELF=DGT1BK23&DT=19970429192119
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Wed Jul 13, 2005 5:51 pm
Reply with quote

Hi,

Please correct me if I am wrong
"HRECOVER never use to recover file which is deleted. The file which is deleted can not be recover unless it is backed up in tape."


Thanks & regards
Rupesh.Kothari
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Fri Aug 12, 2005 12:53 pm
Reply with quote

HRECOVER recovers only the migrated dataset.But if you use P;H;F option,one can recover a dataset from backup.

If the ds was deleted before the backup is taken,then we have to check the master catalog.Normally we dont access this catalog.you need to know the Master catalog of your shop.so that u can recover from it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top