|
View previous topic :: View next topic
|
| Author |
Message |
pshongal
New User
Joined: 14 Jun 2012 Posts: 98 Location: India
|
|
|
|
Hi All,
I want to convert below cobol statement in REXX.
INSPECT WS-INPUT
REPLACING ALL ' ' BY '3'
ALL LOW-VALUES BY '7'
ALL HIGH-VALUES BY '9'.
Do we have a equivalent verb in REXX for this? If not, how do I acheive it?
Please guide. |
|
| Back to top |
|
 |
TheMFKid
New User

Joined: 20 Nov 2013 Posts: 91 Location: India
|
|
|
|
| Praveen, you can try TRANSLATE function in REXX to achieve your requirement. |
|
| Back to top |
|
 |
pshongal
New User
Joined: 14 Jun 2012 Posts: 98 Location: India
|
|
|
|
| Thanks a lot. Got it. |
|
| Back to top |
|
 |
|
|