View previous topic :: View next topic
|
Author |
Message |
ksathishkumar4u Currently Banned New User
Joined: 29 May 2006 Posts: 0
|
|
|
|
How to replace all the words in program using REXX ?
for ex:
if we give c all 'hai' 'hello' on command line on mainframe screen all the words of hai will be changed to hello |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Replace all the words with what? What's wrong with using a CHANGE command from the ISPF editor to do what you want, as you showed in your example? |
|
Back to top |
|
|
ksathishkumar4u Currently Banned New User
Joined: 29 May 2006 Posts: 0
|
|
|
|
ksathishkumar4u wrote: |
How to replace all the words with another word in program,do we have any REXX command for it?
for ex:
if we give c all 'hai' 'hello' on command line on mainframe screen all the words of hai will be changed to hello |
|
|
Back to top |
|
|
foliater
New User
Joined: 06 Apr 2006 Posts: 31
|
|
|
|
u can run a macro to do that....
/*rexx*/
address isredit
"macro"
"c all 'hai' 'hello'"
"end"
remember to concatenate the macro.....
after concatenating the member name is ur macro name.... |
|
Back to top |
|
|
ksathishkumar4u Currently Banned New User
Joined: 29 May 2006 Posts: 0
|
|
|
|
foliater wrote: |
u can run a macro to do that....
/*rexx*/
address isredit
"macro"
"c all 'hai' 'hello'"
"end"
remember to concatenate the macro.....
after concatenating the member name is ur macro name.... |
how to the same without using macro |
|
Back to top |
|
|
foliater
New User
Joined: 06 Apr 2006 Posts: 31
|
|
|
|
hi,
there are lot many ways to do that..
can i know your process needs...
what is wrong in doing that with a macro. |
|
Back to top |
|
|
ksathishkumar4u Currently Banned New User
Joined: 29 May 2006 Posts: 0
|
|
|
|
foliater wrote: |
hi,
there are lot many ways to do that..
can i know your process needs...
what is wrong in doing that with a macro. |
we have to install macro thats the main reason i am avoiding it.. |
|
Back to top |
|
|
|