Dear all AS/400 Lovers!
I need to add a pre-determined number of blank-spaces to each field, before adding it to a big flat-string.
I need to keep on concatenating different field-values to this big string.
But the field-values comes as "trimmed" values.
(i.e. in a 60-char-length address field, I may receive only 15-char address). Hence i cannot concatenate them directly & send it.
My requirement is: I need to pass the exact-length of each field into the flat-string, or else the data will get jumbled OR moved in hapazzard-way, as it is finnally moved into a Datastructure.
Any suggestion would be of great help. pls. let me know.
Thanks in advance,