You need to use caution with VSAM. AFAIK ALTER will rename only the object(s) 
specified in the command, which unless you take extra measures may well be only 
the cluster name. But VSAM components (DATA, INDEX) each have their own names. 

Since you're changing the HLQ, the object(s) might well wind up in a different 
catalog. A Rexx would be great, but be sure to test it well and sanity check 
the result with a small subset.  

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John McKown
Sent: Monday, February 04, 2019 8:27 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: renames

On Mon, Feb 4, 2019 at 10:23 AM Nai, Dean <dean....@doit.nh.gov> wrote:

> Hi,
>
>    I have almost 1000 datasets I need to rename from say xxx.xxx.xxx 
> to yyy.xxx.xxx.xxx where yyy would always be the same qualifier. Any 
> thoughts on be best utility to accomplish this?
>

Personally, I would probably go with Lizette's method -- IDCAMS LISTCAT, parse 
with REXX to create ALTER ... NEWNAME control cards to feed back into IDCAMS.



>
>
> Dean Nai
>
>
>
>
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


--
I just burned 2000 calories!
That's the last time I'll nap with brownies in the oven.

Maranatha! <><
John McKown


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to