View previous topic :: View next topic
|
Author |
Message |
reddy307 Currently Banned New User
Joined: 09 Jun 2006 Posts: 18
|
|
|
|
Hi ,
I have a requirement that i need to replace in a dataset all LIVE to TEST.
How can i do it in REXX...
I am very new to REXX may be my question is little silly...
Thanks for your patience..
Many thanks,
Avinash G |
|
Back to top |
|
|
rexx77
New User
Joined: 14 Apr 2008 Posts: 78 Location: Mysore
|
|
|
|
if i have got ur question correctly, i dont think u need to use rexx to change a string to some other in dataset.
i believe u can use CHANGE ALL command with OLD and NEW string in dataset.
Hope this helps
Regards |
|
Back to top |
|
|
reddy307 Currently Banned New User
Joined: 09 Jun 2006 Posts: 18
|
|
|
|
My requirement is that I need to do this work repetedly more over this is not simply changing one string... I need to change many strings in the dataset. I hope you understood the problem
Regards,
Avinash G |
|
Back to top |
|
|
rajesh_m
New User
Joined: 15 Apr 2008 Posts: 39 Location: India
|
|
|
|
You can use a ISREDIT macro......... |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
... or a regular EDIT routine ... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Of which there is at least one example on the forum, because I posted it |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Although, to replace a string with another string of equal length, I'd use a SORT - much more efficient. |
|
Back to top |
|
|
|