|
Gauri, you need to create a named constant that contains all the invalid characters, and one that contains as many blanks; for instance: d garbage c '%µ£ù=+-_^' d blanks c ' ' /free Field = %xlate(garbage:blanks:Field); /end-free Hope this helps. Peter Colpaert Application Developer Massive - Kontich, Belgium ----- Yoda of Borg are we. Futile is resistance, assimilated will you be. ----- "Gauri Kulkarni" <gauri.kulkarni@xxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 17/08/2005 11:27 Please respond to RPG programming on the AS400 / iSeries To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> cc: Subject: RE: Checking for field with Garbage Value in RPG. XLATE might work in case if I know what exactly the <garbage> is. So that BLANKS can be replaced with those invalid characters. Is there any way to define garbage as well ? Please let me know ..
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.