IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

How to change the field name?

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
View previous topic :: View next topic  
Author Message
mdineshkumar



Joined: 20 Sep 2005
Posts: 4

Posted: Fri Nov 18, 2005 4:57 pm    Post subject: How to change the field name?  

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  
khamarutheen



Joined: 23 Aug 2005
Posts: 678
Location: chennai

Posted: Fri Nov 18, 2005 6:04 pm    Post subject: Rename  

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  
Ramya A



Joined: 26 Jul 2004
Posts: 104

Posted: Fri Nov 18, 2005 10:04 pm    Post subject:  

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  
sonipankaj



Joined: 23 Nov 2005
Posts: 8

Posted: Thu Nov 24, 2005 5:51 pm    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM