Page 1 of 1

Reading DBF file in UNix and convert to CSV

Posted: Thu Jun 20, 2019 7:09 am
by Naren12345babu
Hi,

How to read a DBF file and convert it to CSV file in Unix shell script.

Posted: Thu Jun 20, 2019 8:24 am
by qt_ky
You could use a DataStage job with ODBC Connector stage to read the DBF file, assuming you setup the proper ODBC driver, and write to a CSV file. The only purpose a shell script could serve in this case would be to call the DataStage job.

Posted: Thu Jun 20, 2019 9:55 am
by chulett
Yeah, oddly enough when you post a question like that in a DataStage forum you're going to get a DataStage answer.