Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Error during restore rename

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Error during restore rename
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Oct 14, 2016 4:19 pm    Post subject: Reply to: Error during restore rename
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: 7996
Location: Bellevue, IA

PostPosted: Fri Oct 14, 2016 5:31 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us