How to rename a member of a PDS using REXX?
Moderator: mickeydusaor
How to rename a member of a PDS using REXX?
Hi,
Is there a way using which I can rename some or all of the members of a PDS using REXX? I could not find a way of doing this.
Thanks for any guidance on this.
Is there a way using which I can rename some or all of the members of a PDS using REXX? I could not find a way of doing this.
Thanks for any guidance on this.
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: How to rename a member of a PDS using REXX?
When you mean rename how do you want to rename the members to?
zprogrammer
Re: How to rename a member of a PDS using REXX?
member1 should be renamed to member2... I'm not sure if I got you?
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: How to rename a member of a PDS using REXX?
Hi Pragya,
I mean to ask like how do you know the new member names?
Is there a place which stores the member names ?
here in your example when you mean member1 to member2 does that mean all 1 should be converted to 2?
I mean to ask like how do you know the new member names?
Is there a place which stores the member names ?
here in your example when you mean member1 to member2 does that mean all 1 should be converted to 2?
zprogrammer
Re: How to rename a member of a PDS using REXX?
I did it manually back than but will be intrested to know if there is way to do it.
My old memeber name is say, PGMMEM1 and the new membe rname would be PRGMMEM1. In short, for all members we can replace PGM* with PRGM*.
My old memeber name is say, PGMMEM1 and the new membe rname would be PRGMMEM1. In short, for all members we can replace PGM* with PRGM*.
Re: How to rename a member of a PDS using REXX?
So in the last 6 months which manuals have you researched in order to try and find a solution?
Regards
Nic
Nic
Re: How to rename a member of a PDS using REXX?
I could not find a direct funtion or a way in REXX but TSO command RENAME was close. However I did not use it as it was one time requirement and I did it with Filie-Aid and manually for the smaller PDSes.
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: How to rename a member of a PDS using REXX?
the smarter way would be to use ISPF library management services ( LMMREN )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute