Hi all,
I am trying to convert a pf into a comma delimeted file. This command is working but the problem is if there are unused spaces, it is putting blank spaces like this:
abc ,cdefg , ,hijkl,mnop ,v
Is there a command/option or a better way to handle the output that is required like this:
abc,cdefg,,hijkl,mnop,v
The only alternative that i know of is to write an rpg pgm that will read the file and concatenate and trim the fields and output in a flat file. Maybe someone knows of a better way to achieve the results i need, please help.. Thank you and i appreciate it. Have a nice day.
I am trying to convert a pf into a comma delimeted file. This command is working but the problem is if there are unused spaces, it is putting blank spaces like this:
abc ,cdefg , ,hijkl,mnop ,v
Is there a command/option or a better way to handle the output that is required like this:
abc,cdefg,,hijkl,mnop,v
The only alternative that i know of is to write an rpg pgm that will read the file and concatenate and trim the fields and output in a flat file. Maybe someone knows of a better way to achieve the results i need, please help.. Thank you and i appreciate it. Have a nice day.