Researching I have found that apparently there are translation problems with CPYTOIMPF since V5R3. I've seen a couple of suggested work arounds but none seem to work for one reason or other. I'm trying to copy an externally defined data file into a CSV ASCII file.
In the past I've simply written an RPG pgm to put out commas and double quotes into a flat file. Then used CPYTOPCD to convert to ASCII file. I was hoping on not having to write the RPG program to put out commas and simply use the CPYTOIMPF command. It does the CSV conversion fine but does not create the file with the correct CCSID code set.
Thanks in advance for any help.
January 13, 2010 10:22 PM
January 14, 2010 11:13 PM