On 2016-09-12, at 09:17, Farley, Peter x23353 wrote: > > Another alternative might be if the vendor can send XML files instead of CSV. > COBOL V3.4 can process XML files (XML PARSE statement), and that might or > might not be more efficient than UNSTRING. > Infrequently, I receive a (small) .doc(x) file. I open it with LibreOffice, save it as HTML, and parse the HTML with awk. (XML might have been a better choice.)
There must be a CSV-to-XML translator available at an attractive price. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
