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
 

 

Regd Old Dataset recover from the volume

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

New User


Joined: 02 Jun 2013
Posts: 11
Location: India

PostPosted: Wed Jun 19, 2013 11:37 pm    Post subject: Regd Old Dataset recover from the volume
Reply with quote

hi,
how to recover the 30 days old version of dataset which is not cataloged in mainframes.

I tried using HRECOVER 'U.UAT.GIP001DP.IPCSV01.FEED' GENRATION(3) WAIT.

Code:

ARC1001I U.UAT.GIP001DP.IPCSV01.FEED RECOVER FAILED, RC=0033, REAS=0000
ARC1133I OLD COPY OF DATA SET EXISTS, BUT REPLACE NOT SPECIFIED                                                                      
Back to top
View user's profile Send private message

muralikrishnan_new

New User


Joined: 02 Jun 2013
Posts: 11
Location: India

PostPosted: Wed Jun 19, 2013 11:44 pm    Post subject: Reply to: Regd Old Dataset recover from the volume
Reply with quote

hi,
how to recover the 30 days old version of dataset which is not cataloged in mainframes.

I tried using HRECOVER 'T.XXX.GIP001DP.IPCSV01.FEED' GENRATION(30) WAIT.

Code:

ARC1001I T.XXX.GIP001DP.IPCSV01.FEED RECOVER FAILED, RC=0033, REAS=0000
ARC1133I OLD COPY OF DATA SET EXISTS, BUT REPLACE NOT SPECIFIED                                                                     


The Data-set was cataloged with different data before 30 days. Today I have got another data with the same data-set name. so i have lost the old data. I would like to recover the old data. would that be possible? but i would like to know whether it is possible.

As a permanent fix we will keep the data-set as GDG for teh dataset.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Thu Jun 20, 2013 12:03 am    Post subject:
Reply with quote

Hello,
You need to use the NEWNAME keyword to restore your backup dataset into another name.

Try this,
Code:
HRECOVER 'T.XXX.GIP001DP.IPCSV01.FEED' NEWNAME(‘WELLS.NEW.DATASET.NAME’) GENRATION(30) WAIT

I dont have HSM to test.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jun 26, 2013 6:46 pm    Post subject: Re: Regd Old Dataset recover from the volume
Reply with quote

muralikrishnan_new wrote:
how to recover the 30 days old version of dataset which is not cataloged in mainframes.

I tried using HRECOVER 'U.UAT.GIP001DP.IPCSV01.FEED' GENRATION(3) WAIT.
When you say, a data set is deleted, it's either 1. deleted per the regular archival policy at your shop. 2. or an end-user has deleted it.

In both the cases, if an "application-backup" was taken -- you can recover it from there. If the Data-set was backed up by HSM then you can use HRECOVER. How long the HSM will take care about the back-up 30-days, lees or more - is a site specifc question. Every site has different retention policies and durations -- so it's tough to answer your question, "how to recover the 30 days old version of dataset", 'as is'.

And what do you refer to by "which is not cataloged in mainframes"? icon_confused.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed Jun 26, 2013 7:05 pm    Post subject:
Reply with quote

Hello Anuj,
Code:
ARC1001I T.XXX.GIP001DP.IPCSV01.FEED RECOVER FAILED, RC=0033, REAS=0000
ARC1133I OLD COPY OF DATA SET EXISTS, BUT REPLACE NOT SPECIFIED

This suggested that the backup exists but HSM did not rename the existing dataset since rename was not used. Hence suggested the NEWNAME parameter.

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

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Jun 28, 2013 4:34 pm    Post subject:
Reply with quote

Make sense, sorry to miss that part.
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 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
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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