For another non-Rexx solution, consider StarTool (or I believe PDS command from 
CBT tape). It has a REPLACE function that can work on an entire PDS(E). It can 
be run in simulation mode so you can examine results without actually changing 
anything. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Field, Alan
Sent: Monday, March 25, 2019 1:12 PM
To: [email protected]
Subject: (External):Re: System name change rexx?

Only if you don't

NAME  CPPUPDTE CPPUPDTE                      
* CPPUPDTE IS AN ALIAS OF IPOUPDTE           
VER 062E 0A12                   BLDL         
REP 062E 1BFF                   SR   15,15   

Alan 

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
David Spiegel
Sent: Monday, March 25, 2019 2:36 PM
To: [email protected]
Subject: Re: System name change rexx?

CAUTION:  This email originated outside of the organization.
DO NOT CLICK links or open attachments unless you recognize the sender and know 
the content is safe.

______________________________________________________________________
One thing to note:
IMPORTANT: For CPPUPDTE and IPOUPDTE to work, each PDS to be searched M U S T 
contain a member named $$$COIBM.


On 2019-03-25 15:24, Carmen Vitullo wrote:

Actually CPPUPDTE is a great idea, the JCL is part of the ServerPac or 
CustomPac and is documented on it's use.


Carmen Vitullo

----- Original Message -----

From: "ITschak Mugzach" <[email protected]><mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Sent: Monday, March 25, 2019 2:09:48 PM
Subject: Re: System name change rexx?

Tx. I'll write my own exec
ITschak

בתאריך יום ב׳, 25 במרץ 2019, 20:54, מאת Elardus Engelbrecht ‏<
[email protected]<mailto:[email protected]>>:



ITschak Mugzach wrote:



I need to change several systems that was cloned from same source to


different names. I know what to do and will write my own exec, but I wonder if 
anyone here has such exec that replace all occurances of the system name in 
parmlib and some system dsnames that has the name inside.

Did you considered CPPUPDTE (for PDS like parmlib dsn and similar friends)? Use 
that for one System Name and repeat for other clones a la 'attack of the 
clones'. ;-)

About 'exec', REXX has a function (sorry, I don't have access to my favourite 
z/OS toy while writing this reply) you can use to replace a string on the fly. 
Of course, you need to conjure up an exec to do that thing.

I think I have a sample sitting somewhere (under a HSM ML2 mountain) which 
could help you. I will look at it and if I have anything, I will reply again to 
you.

Groete / Greetings
Elardus Engelbrecht

Blue Monday joke:

An old man went to see his Doctor for consultation over some lab test.
"I've got good news and bad news!" said the Doctor.
"Give me the good news first!" said the man.
"The good news is you only have 24 hours to live!" the doctor said.
"Geez! -if that's the good news, what's the bad news?" said the man.
The Doctor says, "I forgot to tell you yesterday!!"

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to