I downloaded and installed the RPGNext
library to be able to use the CPYFTOCSV command. I needed a CSV file
with a field names header line to send to an outside program.
When I tested this command, I am getting
a record in the CSV file for each record in my physical file. But, except
for the header line, all I get is double quotes (") and commas, no
data.
What I determined is that any file I
try with date fields works like I described. If the file doesn't
have dates, the file is created correctly with the data.
Since this is the only utility I found
that adds the header line, I would like to use it. I don't relish
trying to do the same on my own with the IFS APIs.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.