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

Reply via email to