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

Error during restore rename


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
archanamuthukrishnan

New User


Joined: 12 Oct 2016
Posts: 5
Location: India

PostPosted: Fri Oct 14, 2016 3:30 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Oct 14, 2016 4:19 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 14, 2016 5:31 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top