Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
EQUIVALENT OF COBOL INSPECT IN REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
pshongal

New User


Joined: 14 Jun 2012
Posts: 94
Location: India

PostPosted: Fri Nov 22, 2013 10:44 am    Post subject: EQUIVALENT OF COBOL INSPECT IN REXX
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    Post subject:
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: 94
Location: India

PostPosted: Fri Nov 22, 2013 11:07 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts COBOL - JSON GENERATE husni1972 COBOL Programming 1 Fri Aug 17, 2018 3:29 am
No new posts Can we call QMF proc from REXX ? batu544 CLIST & REXX 6 Fri Aug 03, 2018 11:03 am
No new posts JAVA equivalent for IMS DL/I calls srinianusuya IMS DB/DC 2 Wed Jul 25, 2018 12:04 pm
No new posts REXX CGI - Hello World vasanthz All Other Mainframe Topics 4 Fri Jul 13, 2018 3:53 am
No new posts SQL IN predicate using COBOL table jerryte DB2 16 Fri Jun 29, 2018 10:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us