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,
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!