View previous topic :: View next topic
|
Author |
Message |
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Thanks for the quick response |
|
Back to top |
|
|
|