This only works for non-VSAM.  Renaming a VSAM dataset leaves it in the
same catalog.

-----Original Message-----
From: John Sullivan [mailto:snip] 
Sent: Wednesday, July 02, 2008 2:59 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Cataloging problem

Hi Everyone,
We have a catalog issue.  Two SMP/E CSI's were created on one of our
test LPARS before the HLQ Alias was added.  These are now cataloged in
the master catalog.  Is there any simple way to create the alias and get
them cataloged into the user catalog they belong in?  I'm not strong on
VSAM.  Any JCL, etc is greatly appreciated.  Also, does anyone have a
method/JCL to copy a .CSI to another LPAR?
--------------------------------------------------
Try this for the catalog issue:

(1) Rename the 2 datasets.  Make the names start with something OTHER
THAN the HLQ for which you will create the alias.  Use IDCAMS or just do
it from TSO or ISPF.
(2) Add the alias to the master catalog.
(3) Rename the datasets back to their original name. If you did 1 and 2
right, the datasets will now be catalogued in the UCAT associated with
the alias added in 2.

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