Sam,

It appears as though quotes on the target catalog name will also work. 

TSO RCNVTCAT 'catalog.name' TARGET(my.new.catalog.name)
TSO RCNVTCAT 'catalog.name' TARGET('my.new.catalog.name')

Both produced an identical PDS members/contents

Thanks again for adding this.

Bob

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Sam Golob
Sent: Wednesday, November 16, 2016 11:07 PM
To: [email protected]
Subject: RCNVTCAT and SCNVTCAT enhanced

Hi Folks,

     If you are making a new master catalog and want to catalog all of the old 
master catalog's entries in it, the RCNVTCAT or SCNVTCAT REXX execs are the 
thing for you.  (CBT File 542 on the UPDATES page of www.cbttape.org).  Same 
goes for other catalog contents, when you want to catalog the entries into 
another catalog.  To generate a pds with all the necessary DEFINE statements 
(or most of them), you just have to say:

TSO RCNVTCAT 'catalog.name'

and everything is generated for you.  But if you want to put these generated 
entries into a new catalog, you would have had to make a global change to all 
the CATALOG( ) statements generated in the pds, to direct the entries to the 
new catalog instead of the old one.  Better to do it automatically, so we 
thought.

     So we enhanced (we being Lionel Dyck, John McKown and me) RCNVTCAT and 
SCNVTCAT (which also runs under UNIX) to add a TARGET keyword to point to a new 
catalog name.  So a new syntax can now be:

TSO RCNVTCAT 'catalog.name' TARGET(my.new.catalog.name)

and this will put the string 'my.new.catalog.name' into all the generated 
CATALOG( ) statements.

     RCNVTCAT can also be used to compare two catalogs, but we're not 
discussing that now.  Look at the exec to see how that works.  SCNVTCAT (in CBT 
File 542) was enhanced similarly.

     So see CBT File 542 on the UPDATES page of www.cbttape.org for the new 
execs RCNVTCAT and SCNVTCAT, including the TARGET( ) keyword.

     Use them in good health....!!!

Sincerely,   Sam

----------------------------------------------------------------------
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