I have a program that reads a csv file and loads it to an Oracle database. The program works fine using a sample file that I created in Excel. However, in the real world, it needs to use a file extracted from another system. This extract encases every fields' value in quotes " ". When trying to read this file the program fails with the following error:
**** End of File Attributes For File: MAS90CSV ****
CSV Read Error: Bad Format on Record Nbr 0
If I take this file and open it in excel, the save it (without making changes), it removes the quotes and the program will load it fine.
My questions are: Why do the quotes blow the program up?
and Is there anything I can do in the program itself to "handle" the field type identifiers (quotes)? I tried making all of the fields=Alpha in the WS and it made no difference.
Thanks in advance,
JW
**** End of File Attributes For File: MAS90CSV ****
CSV Read Error: Bad Format on Record Nbr 0
If I take this file and open it in excel, the save it (without making changes), it removes the quotes and the program will load it fine.
My questions are: Why do the quotes blow the program up?
and Is there anything I can do in the program itself to "handle" the field type identifiers (quotes)? I tried making all of the fields=Alpha in the WS and it made no difference.
Thanks in advance,
JW