|
An RPG IV approach: /free fieldb = %triml(fielda); i = %scan(' ':%trimr(fieldb)); dow i > 0; fieldb = %replace('':fieldb:i:1); i = %scan(' ':%trimr(fieldb):i); enddo; *inlr = *on; Mel Rothman IBM eServer Custom Technology Center (eCTC), Rochester, Minnesota http://www-1.ibm.com/servers/eserver/iseries/service/ctc/ http://www.easy400.ibm.it/en u.ratay@abus.de wrote: > > Hi, > > Is there a simple way to do the following? > > I have to delete the blanks in a field. For example: > Field A (before) : '111 222 333 ' > Field B (after) : '111222333 ' > > Thanks in advance > > A B U S > Aug. Bremicker Söhne KG > > Uwe Ratay > > Altenhofer Weg 25 > 58300 Wetter > GERMANY > > Telefon: + 49 (0) 2335 634-178 > Telefax: + 49 (0) 2335 634-365 > > mailto:u.ratay@abus.de > http://www.ABUS.de > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l.
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.