Mark Thomen wrote:

The answer is to use a concept of System Specific Aliases, like Serverpac
does.

Create an alias in your current master catalog that points to the target
catalog (lets call is ABC).  Instead of RECATALOG in the DSS job, use
RENAME(ABC.**).  This will create the data sets on the target catalog as
ABC data sets.

After that is complete, you can use the IDCAMS ALTER, which allows some
generic processing in the name to rename them.  For example,

ALTER     ABC.*       NEWNAME(SYS1.*)

I used the above procedure. (Almost. The DSS RENAME operand syntax is slightly wrong. It should be simply RENAME(ABC).)

At first, I thought it worked on the first try. But further inspection showed that the generic ALTER commands I used affected only the CLUSTER and not the underlying DATA and INDEX components. Their names still began with the "temporary" alias. Additional ALTER commands were necessary to get those entries updated.

Anyway, though it entailed a lot of manual "fiddling" compared to the book's simple recommendation of using JOBCAT/STEPCAT, it did eventually work. Thanks for the help!

--
-----------------------------------------------------------------
| Edward E. Jaffe                |                                |
| Mgr, Research & Development    | [EMAIL PROTECTED]    |
| Phoenix Software International | Tel: (310) 338-0400 x318       |
| 5200 W Century Blvd, Suite 800 | Fax: (310) 338-0801            |
| Los Angeles, CA 90045          | http://www.phoenixsoftware.com |
-----------------------------------------------------------------

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to