IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

need to rename 230 members from single pds


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vidya Kajale

New User


Joined: 01 Jun 2010
Posts: 43
Location: India

PostPosted: Wed Sep 12, 2012 4:01 pm
Reply with quote

Hi,
I have pds in which 230 members are present. I need to rename all the 230 members at a time.How can i do it,please guide.

Renaming single member everytime takes a lot of time.Also using IEBcopy it will take lot of time to copy entire 230 member names and write select member(M1,M2,R) 230 times.

Is there any other method to do it.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 12, 2012 4:13 pm
Reply with quote

learn rexx, write a macro that will massage the member names
and generate the required control cards?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Sep 12, 2012 5:37 pm
Reply with quote

Write a program to use the ISPF Service LMMREN on each member as required.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Wed Sep 12, 2012 6:14 pm
Reply with quote

Use the IDCAMS ALTER statement with the NEWNAME parameter.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Sep 12, 2012 6:39 pm
Reply with quote

you can somehow <automate> the process only if the rename is <pattern> driven

*zzz* becomes *www* for example

otherwise You will have to type the rename one by one
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
Search our Forums:

Back to Top