SQL is easy enough:

Update myfile set myfield = trim(myfield)


RPG:

Eval myfield = %trim(myfield);


Thanks,
Tommy Holden



From: Hoteltravelfundotcom <hoteltravelfun@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 12/04/2014 03:16 PM
Subject: qucik qd
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I have one field in a file that is char 8
the data has been entered rt justify

is there a q&D way to left justify this field?

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].