I am writing a program to FTP the data from our system to another service provider.
I have created one field length of 680
In my RPG program I have a data structure combine about 63 fields into one field.
The problem i am having is that when a field is let's say 20 long and I need to trim the blanks off that field '12345 .'
The next time that field has the following :' 12 '
In my combined fields I have a separator eg 123 ,12 ,
How can Iget rid of the leading blanks
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!