Yes, that and TSO RENAME also works, but I think the OP is looking for
something with wildcard capabilities.
For example rather than code PROC1 PROC2 PROC3 and ignore TPROC1 APROC1 etc,
the OP has coded

PROC PDS DDNAME=RENLIB01;
 CHANGE YYY:=XXX:;

Which is SAS-speak for Change all PROCs that being with YYY to XXX and the
trailing characters should be left as is.  

If you want to rename a member or members of the PDS, use the CHANGE
statement. Specify the old name on the left side of the equal sign, and
specify the new name on the right. 

Both of these tools require specific names.

Lizette


> 
> Don and responding contributors
> 
> Maybe I'm being grossly old-fashioned - and I am certainly grossly
out-of-date
> regarding MVS Utilities - but I believe when I wanted to create a batch
job[1]
> in order to rename the member of a partitioned data set, procedure members
> in procedure libraries included, I used the entirely free - sorry, at no
extra
> cost from IBM - utility IEHPROGM. The appropriate example - found quickly
by
> searching for "rename" on the Contents web page of the z/OS DFSMSdfp
> Utilities (SC26-7414-04) manual (to be found in the z/OS V1R10 DFSMS
> bookshelf):
> 
> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2U130
> 
> Specifically "14.5.7 Example 7: Rename a Partitioned Data Set Member".
> 
> <quote>
> 
>        //REN      JOB  ...
>        //STEP1    EXEC PGM=IEHPROGM
>        //SYSPRINT DD  SYSOUT=A
>        //DD1      DD  VOL=SER=222222,DISP=OLD,UNIT=disk
>        //SYSIN    DD  *
>           RENAME
> VOL=disk=222222,DSNAME=DATASET,NEWNAME=BC,MEMBER=ABC
>        /*
> 
> 
> </quote>
> 
> In effect, all the suggestions would appear to be *replacements* for the
> original IBM IEHPROGM utility which I am prepared to bet predates the
> programs named in these suggestions - and SAS - by many blue moons.
> 
> Is there some subtlety I missed here caused by my long neglect of the use
of
> MVS Utilities - or have so many alternatives cropped up in the "good
times"
> packaged with "must-have" products that folk have forgotten about the
> original "at no extra cost" utilities?
> 
> Chris Mason
> 
> [1] With the aid of a little program which converted PARM field data into
utility
> input control data sets - among other uses - and a little program which
> displayed the contents of the utility output print data set on the console
> wrapped up in handy started task procedures, I set up many frequently used
> functions - even incorporating some into automation - which relied on
> absolutely standard MVS utilities such as IEHPROGM. This was for use -
long
> ago now - with test/education systems where the only significant MVS
> console was the 3270 where the VM userid for the MVS guest was logged on.
> 
> On Thu, 30 Apr 2009 04:01:09 -0500, don isenstadt
> <don.isenst...@gmail.com> wrote:
> 
> >Well times are tough so we are dropping sas .. is there a shareware
function
> >that will do this??
> >
> >PROC PDS DDNAME=RENLIB01;
> > CHANGE YYY:=XXX:;
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to