View previous topic :: View next topic
|
Author |
Message |
muralikrishnan_new
New User
Joined: 02 Jun 2013 Posts: 15 Location: India
|
|
|
|
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 |
|
|
muralikrishnan_new
New User
Joined: 02 Jun 2013 Posts: 15 Location: India
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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"? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Make sense, sorry to miss that part. |
|
Back to top |
|
|
|