On Mon, Mar 16, 2026 at 4:53 PM Vern Hamberg via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

To reply to Stephen's question - ways other than CPYTOIMPF to write to
CSV files - generate_spreadsheet function can process the CSV option.



ok, good to know:

select
SYSTOOLS.GENERATE_SPREADSHEET(
PATH_NAME => '/home/shopmigr/test',
SPREADSHEET_QUERY => 'SELECT * from shopmigr/qsqlsrc',
SPREADSHEET_TYPE => 'csv',
COLUMN_HEADINGS => 'LABEL')
from sysibm/sysdummy1

SELECT char(line,256) FROM TABLE(QSYS2.IFS_READ_UTF8(
PATH_NAME => '/home/shopmigr/test.csv'))

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.