View previous topic :: View next topic
|
Author |
Message |
archanamuthukrishnan
New User
Joined: 12 Oct 2016 Posts: 5 Location: India
|
|
|
|
Hi All,
I ran the restore and rename JCL using ADRDSSU utility
.
Code: |
//STEPT03 EXEC PGM=ADRDSSU,REGION=0M
//SYSPRINT DD SYSOUT=*
//SOURCE DD UNIT=3390,DISP=OLD,DSN=SYS1.TEST.DUMP
//TARGET DD UNIT=3390,VOL=SER=ABCD11,DISP=OLD
//SYSIN DD *
RESTORE INDDNAME(SOURCE) OUTDDNAME(TARGET) -
DATASET(INCLUDE(**)) -
REPLACE -
TOL(ENQF) WAIT(0,0) -
RENAMEUNCONDITIONAL(SYS1.ABCD.**)
/*
|
I need to rename by DS as SYS1.ABCD.** as the DUMP DS contains my HLQ.
But I got the below error.
Code: |
ADR141E (001)-RI03 (02), ERROR IN DATA SET NAME SYS1.ABCD.**
ADR017E (001)-CLTSK(01), 2016.288 10:52:16 TASK NOT SCHEDULED DUE TO ERROR. TASK RETURN CODE 0008
|
Could someone help me in this.
Thank you.
Archana.
CODE' D for readability |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
if You had cared to look at the RENAMEUNC clause in the dfdss manuals
You would have found the error Yourself without asking on a forum
or even better... looked at the manual before submitting the JOB |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I also suspect you are going to run into an issue -- from the manual on the RENAME parameter:
Quote: |
You cannot change the number of qualifiers unless you use fully-qualified names, for example, RENUNC((A.B.C,A.B.C.D)). |
so giving ** going to SYS1.ABCD.** is adding two qualifiers, and hence that is not going to happen, ever. |
|
Back to top |
|
|
|