Page 1 of 1

creating a CVS file

PostPosted: Fri Jun 11, 2010 7:19 pm
by JimCottrell
I need to reformat a FB record into a CVS record...

INPUT
0000000000,005,BRYCE & ANGELA     ,SCHROEDER          ,15225 SW HERON COURT           ,BEAVERTON          ,OR970070000


output
0000000000,005,BRYCE & ANGELA,SCHROEDER,15225 SW HERON COURT,BEAVERTON,OR970070000


any help will be appreciated - thank you

New to EASYTREVE
Jim

Re: creating a CVS file

PostPosted: Fri Jun 11, 2010 11:33 pm
by dick scherrer
Hello,

You could define an input and an output array and code loops to identify and move the desired data from the input to the output.

Or call a COBOL module to reformat the data . . .

Also, i believe you want CSV and Easytrieve rather than CVS and EASYTREVE.