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

How to change the field name?


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

New User


Joined: 20 Sep 2005
Posts: 4

PostPosted: Fri Nov 18, 2005 4:57 pm
Reply with quote

Consider there are 20 members in a dataset. Each member contains a field name called VAR-1. How to change this field name VAR-1 in all the members to VAR-2 at time without opening all the members? Is there are any TSO command like ?CHANGE? to do that?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Nov 18, 2005 6:04 pm
Reply with quote

hi frnd,
i dont think v can have any option for ur req in TSO.. Try it in FILEAID tool... not clear.. if so then let me know.
Back to top
View user's profile Send private message
Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Fri Nov 18, 2005 10:04 pm
Reply with quote

khamarutheen is right...you could do this using FileAid

option 3 (Utility) --> 6 (Search/Update) --> option M with your PDS name.

With this option you can find and change a string (with / without position parameters) across members of a PDS.

Let me know if this helps...

Rgds,
Ramya
Back to top
View user's profile Send private message
sonipankaj

New User


Joined: 23 Nov 2005
Posts: 10

PostPosted: Thu Nov 24, 2005 5:51 pm
Reply with quote

You can Use PDSMAN also, if u have. For checking whether you have it or not, just type PDSMAN in commandline. It will show you some PDS editing options. Go to Scan & replace option. Then specify the source string & the Target string. It will make the changes in all the members. It can also make changes in the selected members.
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 Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts SELECT from data change table DB2 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
Search our Forums:

Back to Top