Jonathan
Thanks it's works for me
Thanks all
Jonathan Mason <jonathan.mason@xxxxxxxxxxxxxxxx> wrote:
Using RPG (as opposed to RPGLE) I would use arrays and read through the
field one character at a time and if the character isn't a blank I would
copy it to another field.
An example program that uses this method in RPG400 can be found at
http://code.midrange.com/index.php?id=5a91e912d5
Hope it helps
Jonathan
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Mahesh Pawar
Sent: 25 September 2007 13:50
To: RPG programming on the AS400 / iSeries
Subject: remove blanks
Hello,
I have field having data like this '2018 179 10' I want to remove blanks
and result field must be '201817910'.
Please help me to get require result using RPG not RPGLE
Thanks in advance
mahesh
Thanks & Regards
Mahesh Pawar,
Mumbai,India,
Phone#(R) - 91-22-25442164,
Mobile# - 98204 46415
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
As an Amazon Associate we earn from qualifying purchases.