Hello there!
I have a CSV file, how can I convert it to a fixed textfile?
Every field is also varying in length.
There are also spaces (e.g ',,').
Record lenght is varying to 250.
I am confused, what could its easiest method in cobol?
Thanks
BillyBoyo wrote:Not the only way...
However, I'm with enrico. As long as you do not have more than 100 fields, your sort product can cope with it, using PARSE, including fields with "embedded delimiters".
Ah, the gift of understatementa Rexx solution is fine for small files but may be a bit slow for huge files.