View previous topic :: View next topic
|
Author |
Message |
Karthick.natesan
New User
Joined: 20 Jan 2012 Posts: 4 Location: India
|
|
|
|
Hi all,
I am new to rexx, can any one help me to display record from input by position using REXX program
for eg I want to display first record only from position 5 -10 |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
look at the SUBSTR function.
eg.
Code: |
X = SUBSTR(RECORD,005,010)
|
Gerry |
|
Back to top |
|
|
Karthick.natesan
New User
Joined: 20 Jan 2012 Posts: 4 Location: India
|
|
|
|
Hi Gcicchet,
Thanks it worked!!! |
|
Back to top |
|
|
|