>A "legitimate" rename operation should establish the new 
>catalog entry as required by the alias associated with the new 
>high-level qualifier(s). 

Never came across that problen and never questioned the behaviour,
but had I been asked before this thread appeared my answer would 
have been it is "correctly" recataloged, in a different 
catalog it the new HLQ requires it.

Now I read here that ALTER NEWNAME VSAM and non-SMS managed will
not necessarily recatalog to the correct catalog. "How will I then
be able to ever find my data set again...." was my first thought.

Here is what the IDCAM manuals says about ALTER...NEWNAME:
+-----------------------------------------------------------------------
-+
| Figure 5. How NEWNAME Resolves When Change of Catalog is Required
|
+-----------------------+------------------------+----------------------
-+
| Data Set Type         | SMS                    | non-SMS
|
+-----------------------+------------------------+----------------------
-+
| VSAM                  | ALTER                  | ALTER
|
|                       | unsuccessful--entry    | successful--entry
|
|                       | not renamed            | remains in the source
|
|                       |                        | catalog
|
+-----------------------+------------------------+----------------------
-+
| non-VSAM with no      | ALTER                  | ALTER
|
| aliases               | successful--entry is   | successful--entry
|
|                       | recataloged in target  | remains in the source
|
|                       | catalog.               | catalog
|
+-----------------------+------------------------+----------------------
-+
| non-VSAM with aliases | ALTER                  | ALTER
|
|                       | unsuccessful--entry    | successful--entry
|
|                       | not renamed            | remains in the source
|
|                       |                        | catalog
|
+-----------------------+------------------------+----------------------
-+
| GDS with no aliases   | ALTER                  | ALTER
|
|                       | successful--entry is   | unsuccessful--entry
|
|                       | recataloged in target  | not renamed
|
|                       | catalog.               |
|
+-----------------------+------------------------+----------------------
-+
| GDS with aliases      | ALTER                  | ALTER
|
|                       | unsuccessful--entry    | unsuccessful--entry
|
|                       | not renamed            | not renamed
|
+-----------------------+------------------------+----------------------
-+
| Note:  The source catalog is the catalog containing the original
|
|        entry. The target catalog is the catalog in which the new name
|
|        would normally be cataloged according to a catalog alias
|
|        search.
|
+-----------------------------------------------------------------------
-+


That was my lesson-for-the-day

Peter Hunkeler
CREDIT SUISSE

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