See if you have IPOUPDTE in your system. Linklib maybe. Or if you have the TAPETOOLS from IBM - it has an equivalent.
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Charles Mills > Sent: Monday, December 15, 2014 5:08 PM > To: [email protected] > Subject: Utility to replace occurrences of string in PDS? > > 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 [email protected] with the message: INFO IBM-MAIN
