Rex,
 
Thanks for answering my question.  I have to stop being lazy and code all the 
qualifiers.
 
Thanks.

From: "Pommier, Rex" <[email protected]>
To: [email protected] 
Sent: Wednesday, October 23, 2013 10:17:15 AM
Subject: Re: DFDSS QUESTION - RENAMEUNC


Willie,

According to the documentation, you cannot do what you want, ie, prepend a 
qualifier.  This is what I found in the reference manual:

<quote>
You cannot change the number of qualifiers unless you use fully-qualified 
names, for example, RENUNC((A.B.C,A.B.C.D)).
</quote>


Rex

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of willie bunter
Sent: Wednesday, October 23, 2013 9:07 AM
To: [email protected]
Subject: DFDSS QUESTION - RENAMEUNC

Good Day To All,
 
I am trying to do a COPY of some dsns with a rename.  In the RENAMEUNC context 
I have added another qualifier.  The RENAME function works to a point however I 
do not get the expected results.  I am posting my jcl so as to better explain 
my question.
 
 COPY DATASET(INCLUDE(HESP.SIMULATE.RUN0*)) -    
      RENUNC (**,DE0P.HESP.*.**) -               
      OUTDDNAME(DISK2) -                         
      ALLDATA(*) -                               
      ALLEXCP -                                  
      OPT(4)  -                                  
      TGTALLOC(SOURCE) -                         
      TGTGDS(SOURCE) -                           
      SPHERE  -                                  
      DELETE  PURGE -                            
      CATALOG                                    
/*                                               
//                                               
 
The results shows that the dsns were copied and renamed but it drops the 
quailifier SIMULATE. 
 
The dsns are renamed to :
 
DE0P.HESP.RUN01
DE0P.HESP.RUN02
 
Could someone correct my error?  I want the dsns to be renamed to  
DE0P.HESP.SIMULATE.RUN01 & DE0P.HESP.SIMULATE.RUN02 etc
 
Thanks in advance for yur help. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you. 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to