MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to eliminate leading/Trailing spaces in Easytrive

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
kavi
Beginner


Joined: 15 Sep 2006
Posts: 64
Topics: 22

PostPosted: Wed Jun 06, 2007 3:02 am    Post subject: How to eliminate leading/Trailing spaces in Easytrive Reply with quote

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
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Wed Jun 06, 2007 3:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group