Read and Write CSV file COBOL

 1 Replies
 1 Subscribed to this topic
 18 Subscribed to this forum
Sort:
Author
Messages
klkemp100
Basic Member
Posts: 14
Basic Member
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!

Does anyone have a quik example of a program that does the following...

1. opens a csv file as input, opens a second csv file as output

2. reads the data from input file and moves fields to the output file and writes a record 

New at this Lawson COBOL stuff.

I assume its simple like...

open input inputcsfvile

open output outputcsvfile

move input-field-a to output-field-a.

move input-field-b to output-field-b.

write outputcsvfile

close inputcsvfile

close outputcsvfile

 

Thanks!

Ragu Raghavan
Veteran Member
Posts: 477
Veteran Member
New Poster
New Poster
Congrats on posting!
Engaged Poster
Engaged Poster
Wow, you're on a roll!
Avid Poster
Avid Poster
Seriously, you're a posting maniac!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
That is pretty much it. What kind of issues are you having?