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