IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 1689
Location: Tiruppur, 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

Senior Member


Joined: 22 Apr 2006
Posts: 6251
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: 1689
Location: Tiruppur, 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

Senior Member


Joined: 22 Apr 2006
Posts: 6251
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Fetch the Dataset names from inside m... TSO/ISPF 18
No new posts Position BSAM file on multi volume PL/I & Assembler 3
No new posts what is the DSORG(Datset orgnisation)... JCL & VSAM 8
No new posts IEBGENER is not Creating Member in PD... JCL & VSAM 7
No new posts Warning in dataset message TSO/ISPF 18

Back to Top