View previous topic :: View next topic
|
Author |
Message |
poulomi
New User
Joined: 22 Feb 2007 Posts: 6 Location: INDIA
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
poulomi
New User
Joined: 22 Feb 2007 Posts: 6 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Srinivasa Rao
How do you know that the backups were taken using DFdss ? |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
|