I think the requirement for a member name $$$COIBM has been removed.  I have 
used IPOUPDTE on 3 different sites in the past few years without this 
restriction.  Many of the other utilities are great, but some cost money or may 
not be installed at some sites, so IPPOUPDTE is a great option.  It also allows 
for updating multiple pds/pdse's in one execution and provides a PARM=CHECK or 
UPDATE to allow checking your changes before doing the actual UPDATE.  The DD 
name(s) must start with @.   A JCL example:

//IPOUPDTE JOB
(24186),'CHANGE
JCL',CLASS=P,MSGCLASS=O             
//*                                                                
//*************************************************************    
//*  MASS CHANGE TO LIBRARY
MEMBERS                          
*
//STEP    
EXEC PGM=IPOUPDTE,PARM=CHECK              will simulate changes 
//*STEP     EXEC
PGM=IPOUPDTE,PARM=UPDATE            will perform 
changes                  
//SYSPRINT DD  
SYSOUT=*                                           
//@TEST    DD   DSN=GRT.GIOIDXM.JCL,DISP=SHR         can use more than
one LIB 
//@TEST2   DD   DSN=GRP.GIOIDXM.JCL,DISP=SHR                      
//SYSIN    DD  
*                                                  
  CLASS=P<CLASS=A<                                                 
 
*<A<SYSOUT=<                                                     
  AFOPER<BMC<                                                      
/*          

There is a 4k? limit on the total bytes in the control cards, so if a large 
number of control cards is used, more than one run would be needed. 



David Mingee
Mainframe Consulting
9206 Aintree Drive
Indianapolis, IN  46250

317 288-9588  Home
317 903-9455  Cell

 
 From: Charles Mills <charl...@mcn.org>
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Monday, December 15, 2014 7:29 PM
Subject: Re: Utility to replace occurrences of string in PDS?
  

Hmmm. Also "Important: For CPPUPDTE and IPOUPDTE to work, each PDS to be 
searched
MUST contain a member named $$$COIBM."

Obviously that is something I could create but that creates problems of its own.

May keep looking a little. Not sure if I have File Manager.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Monday, December 15, 2014 4:14 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Utility to replace occurrences of string in PDS?

Server Pac

CPPUPDTE is a program that enables you to search for a string across all the 
members of a PDS and replace that string with another string.  CPPUPDTE is 
loaded into the LOADLIB data set
(hlq.order_number.LOADLIB) during ServerPac installation.  It also has an alias 
name of IPOUPDTE because the job is actually the same job that was shipped with 
CBIPO.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of John McKown
> Sent: Monday, December 15, 2014 5:11 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Utility to replace occurrences of string in PDS?
> 
> Is IPOUPDTE still around? I'm at home right now & can't easily look.
> On Dec 15, 2014 6:08 PM, "Charles Mills" <charl...@mcn.org> wrote:
> 
> > I'm looking for a reasonable way to replace all occurrences of a 
> > given string in a dataset. UNIX shell command? DFSMS utility that I 
> > have forgotten about? CBT program?
> >
> > Nothing fancy. I have a PDS with seven or so members. I want to 
> > replace all instances of $REPLACEME$ with NEWSTRING. I know which 
> > members contain the pattern so I could live with *either* something 
> > that did the whole PDS, or something where I had to specify the 
> > specific members. First choice would be something that copied the 
> > PDS, but I can make my own copy and live with a replace-in-place.
> >
> > I could write Rexx to do it so that's my bottom line -- it has to be 
> > easier than writing a Rexx program.
> >
> > Any suggestions?
> >
> > Charles

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


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

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