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
 

 

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


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