View previous topic :: View next topic
|
Author |
Message |
jaiananth
New User
Joined: 26 Apr 2006 Posts: 6
|
|
|
|
hi all,
i want to change some n occurences of string1 in a PDS member to string2.One option is to use F ALL 'string1' and manually change it to string2. Is there a single replace command? |
|
Back to top |
|
|
sri.mainframes
New User
Joined: 16 Feb 2006 Posts: 29 Location: MUMBAI
|
|
|
|
Hi Anath,
here is the command
C ALL 'string1' TO 'string2'
If it works fine else try the same by removing TO in the above command
Thanks
SRI.PRINCE |
|
Back to top |
|
|
kousalya26
New User
Joined: 06 Jul 2005 Posts: 21 Location: chennai
|
|
|
|
Hi Jaianath,
You can use the RCHANGE command for this.
Code: |
C ALL "string1" "string2" |
Thanks & Regards,
kousalya |
|
Back to top |
|
|
eric_zhang
New User
Joined: 17 Apr 2006 Posts: 2 Location: Shanghai,China
|
|
|
|
bu using file aid option 3.6(utilities=>search/update), you can do more powerful changing functions |
|
Back to top |
|
|
|