× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Maria,

Am 04.02.2022 um 11:14 schrieb Maria Lucia Stoppa <mlstoppa@xxxxxxxxx>:

For a new customer of mine, I need to import into IBM i running V7R3 a
UTF-8 multibyte file. So, the UTF-8 multibyte file is on IFS and has CCSID
set to 1208, whereas the DB2 flat file is set to CCSID = 655535.

I assume you have a typo and are mentioning 65535?

I don't know what the correct multibyte CCSID (EBCDIC) for your local language is. But the QCCSID system value must be set accordingly, and your database table must be set to this value, also. With that in place, CPYFRMIMPF should do fine.

Should I really be obliged to read the UTF-8 file from the IFS byte per byte and make a conversion, sort of?

I'd say: No.

:wq! PoC


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-2024 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.