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

Reference Modification in REXX


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

Active User


Joined: 22 May 2009
Posts: 160
Location: Bangalore

PostPosted: Wed Jan 06, 2010 3:16 pm
Reply with quote

Hi,

i need a word to be trimmed till 6 chars only.

The WORD and SUBWORD are for a whole word in REXX but i need the reference modification as in COBOL to get the desired result.

Ex:

IN COBOL-

VAR1 PIC X(18) 'IBM MAINFRAMES.COM'

VAR1(5:10) would give the 'MAINFRAMES' as output.


i need the above to be performed in REXX please help!!!!

i apologise if it silly....
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jan 06, 2010 3:19 pm
Reply with quote

At the top of this forum there is a sticky which goes into the TSO/REXX/ISPF manuals.

Look at the REXX reference manual and look at SUBSTR or LEFT
Back to top
View user's profile Send private message
tecnokrat
Warnings : 1

Active User


Joined: 22 May 2009
Posts: 160
Location: Bangalore

PostPosted: Wed Jan 06, 2010 3:32 pm
Reply with quote

Thanks for the quick response icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top