IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

EQUIVALENT OF COBOL INSPECT IN REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pshongal

New User


Joined: 14 Jun 2012
Posts: 98
Location: India

PostPosted: Fri Nov 22, 2013 10:44 am
Reply with quote

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
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Fri Nov 22, 2013 10:48 am
Reply with quote

Praveen, you can try TRANSLATE function in REXX to achieve your requirement.
Back to top
View user's profile Send private message
pshongal

New User


Joined: 14 Jun 2012
Posts: 98
Location: India

PostPosted: Fri Nov 22, 2013 11:07 am
Reply with quote

Thanks a lot. Got it.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Big Five Personality Test in COBOL - ... COBOL Programming 0
No new posts Instream REXX? JCL & VSAM 13
No new posts I wrote a Hallmark Movie Plot Generat... COBOL Programming 0
Search our Forums:


Back to Top