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

Regd Old Dataset recover from the volume


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
muralikrishnan_new

New User


Joined: 02 Jun 2013
Posts: 15
Location: India

PostPosted: Wed Jun 19, 2013 11:37 pm
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: 15
Location: India

PostPosted: Wed Jun 19, 2013 11:44 pm
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: 1742
Location: Tirupur, India

PostPosted: Thu Jun 20, 2013 12:03 am
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

Superior Member


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

PostPosted: Wed Jun 26, 2013 6:46 pm
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: 1742
Location: Tirupur, India

PostPosted: Wed Jun 26, 2013 7:05 pm
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

Superior Member


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

PostPosted: Fri Jun 28, 2013 4:34 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top