On 10/23/2013 10:22 AM, willie bunter wrote:
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


This is one of the biggest outstanding requirements we have against DFDSS, to perform renames for an unlike number of qualifiers. You will have to rename each dataset separately.

Regards,
Tom Conley


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

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

Reply via email to