View previous topic :: View next topic
|
Author |
Message |
umasankartt
New User
Joined: 14 Jul 2012 Posts: 10 Location: India
|
|
|
|
Hi All,
Please help on restoring the Multivolume GDG DS. I have used below jcl
//RESTGDG JOB 'DUMP',CLASS=A,NOTIFY=&SYSUID,
// REGION=0M
//REST EXEC PGM=ADRDSSU PARM='TYPRUN=NORUN'
//TAPE3 DD UNIT=/890,VOL=SER=yyy134,
// DSNAME=DUMPFULL.xxx289,LABEL=(36,SL),
// DISP=OLD
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
RESTORE DATASET(INCLUDE(VPP1.CMS.GDG.HNT2.G0625V00)) LVOL(xxx289) -
INDDNAME(TAPE3) RENAMEU(BACKAMSL) ODY(yy123E) SPHERE
We getting below Error code msg:
ADR497E (001)-CATLG(07), A CATALOG ERROR OCCURRED WHILE DELETING DATA SET xxxxxxx.gdg REASON CODE IS EG-042
ADR415W (001)-TDDS (02), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY
The mentioned GDG is present in 3 volumes while trying to restore 2 volumes are restored successfully and last throwing error. so that its not catalog after completion.
Regards,
Umasankar |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
You appear to have mangled the message too badly for further analysis to take place; it should end
Code: |
RETURN CODE IS return_code, REASON CODE IS {reason_code | NOT PROVIDED} |
Please go back to the job sysout and cut and paste the message enclosing it in Code tags as I have done. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
And I bet it did not THROW an error. |
|
Back to top |
|
|
umasankartt
New User
Joined: 14 Jul 2012 Posts: 10 Location: India
|
|
|
|
RC 08.. I have mentioned the Error codes along with log |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Although you refuse to post the actual error message, a return code of 08 and a reason code of 42 ADR497E suggests:
Quote: |
Explanation: The catalog record for the requested entry could not be found.
Programmer Response: Ensure that the entry name specified on the access method services command is in the catalog specified. |
Is that sufficiently clear? |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 582 Location: London
|
|
|
|
You're going to have fun with this. Phsyical restores should be avoided where possible as they can be so problematic. Normally you have to go and do a DEFINE RECATALOG for all the data after the restore and may need all the volsers coded in sequence.
If this is a physical restore you would need to specify three output volumes in the ODY to match the source dataset if that was using 3 volumes, and they must be the same capacity and geometry . So you'd also need to specify all the volsers in LVOL that the source dataset was on as well I would have thought.
You could delete the target file BACKAMSL.CMS.GDG.HNT2.G0625V00 from the target volumes first and try again. an IDCAMS job with
DELETE BACKAMSL.CMS.GDG.HNT2.G0625V00 NVR
should get rid of the DSCB and NVR entries from the volumes. |
|
Back to top |
|
|
umasankartt
New User
Joined: 14 Jul 2012 Posts: 10 Location: India
|
|
|
|
I have used this jcl and it works fine.... while i am trying to rename the HLQ only it shows error.. Now its works fine after successfull restoration of 3 volumes recataloged and i had renamed the dataset as req. means BACKAMSL.CMS.GDG.HNT2.G0625V00
Code: |
//RESTGDG JOB 'DUMP',CLASS=A,NOTIFY=&SYSUID,
// REGION=0M
//REST EXEC PGM=ADRDSSU PARM='TYPRUN=NORUN'
//TAPE1 DD UNIT=/890,VOL=SER=B08122,
// DSNAME=DUMPFULL.VWM099,LABEL=(62,SL),
// DISP=OLD
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
RESTORE DATASET(INCLUDE(VPP1.GUI.GDG.WWOL.G0613V00))-
RENAMEU(VPP1.GUI.GDG.WWOL.G0613V00,BACKAMSL.FILE) -
ODY(FC1240)INDDNAME(TAPE1)
/*
//*RC-08 |
Thanks for all your responses... hope i choosen a correct site to explore my ideas and doubts |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
hope i choosen a correct site to explore my ideas and doubts |
I believe you have
I suspect that if the restore did not work, the rename would also have problems . . .
Possibly i misunderstand.
Also, the editor does not support Bold within the Code tags (i'll change). |
|
Back to top |
|
|
|