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
 
How to restore a deleted dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
poulomi

New User


Joined: 22 Feb 2007
Posts: 6
Location: INDIA

PostPosted: Tue Jan 29, 2008 11:24 am    Post subject: How to restore a deleted dataset?
Reply with quote

Hi all,

Currently I faced a problem of deletion of a dataset which had some relevent data. I want to restore the same.

Can some one help me with the code to restore the dataset from the tape?

or what is the process of getting a deleted dataset back?

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

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Jan 29, 2008 11:56 am    Post subject:
Reply with quote

poulomi,

Quote:
Can some one help me with the code to restore the dataset from the tape?

Speak with ur local storage management team. If your shop takes backup at regualr intervals, they might restore from the backup.
Back to top
View user's profile Send private message
poulomi

New User


Joined: 22 Feb 2007
Posts: 6
Location: INDIA

PostPosted: Tue Jan 29, 2008 12:10 pm    Post subject:
Reply with quote

Hi Murali,

Tried with them. But since duplicate datasets with same dataset name was created after deletion so it has become little bit difficult to track back the one which was of actual use.
So I was wondering if we have any code which can retrieve the required dataset at once.

Regards,
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Jan 29, 2008 12:42 pm    Post subject: Reply to: How to restore a deleted dataset?
Reply with quote

How can You expect US to give the code to restore a specific dataset
if even Your organization dos not know what to restore ???
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 29, 2008 12:46 pm    Post subject:
Reply with quote

Easy - Start with the newest backup and work backwards until you find what you need.

Just restore to a new dataset name
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Jan 29, 2008 3:33 pm    Post subject: Restore dataset
Reply with quote

Most probably you storage team will take backup of all production files. Contact then and get the tape name where these files are backed up depending on date.

If in case you have authority try running this utility to restore dataset.


//STEP010 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//IN DD DSN=Tape dataset,DISP=OLD
//SYSIN DD *
RESTORE DATASET(INCLUDE( -
Data set to be restored -
)) -
RENUNC -
((dataset to be resored , new name to the restored dataset)) -
CATALOG REP -
INDD(IN)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 29, 2008 5:50 pm    Post subject:
Reply with quote

Srinivasa Rao

How do you know that the backups were taken using DFdss ?
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Jan 29, 2008 6:15 pm    Post subject:
Reply with quote

Its a guess and I won't think there is an equivalent product which can simulate to Z/OS environment so perfectly as SMS. So I thought DFDss might have taken backup.
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 -> JCL & VSAM 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