View previous topic :: View next topic |
Author |
Message |
kavi Beginner
Joined: 15 Sep 2006 Posts: 64 Topics: 22
|
Posted: Wed Jun 06, 2007 3:02 am Post subject: How to eliminate leading/Trailing spaces in Easytrive |
|
|
Hi all,
How can I use Reference modification in easytrive.
My problem is I need to eliminate leading spaces of a variable.
eg.
Input
WS-in-Name X(15)
AAAAAAAAAAA
The above variable has 15 byte length and has only 10 byte valid value. I want to write it to O/P file with only the valid value (10 bytes).
help me how to handel this in easytrive.
Thanks In advance.
Kavi |
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Wed Jun 06, 2007 3:56 am Post subject: |
|
|
EZT will support arrays, if you define two of them, you can character move from one to the other or redefine WS-in-NAME as an array and "squeeze" the blanks out of it - That's the way we used to do it in COBOL before RM...... |
|
Back to top |
|
 |
|
|