Unable to convert data from CCSID 1208 to CCSID 819

Discussions related to FTPAPI (An FTP client package for RPG programming.) http://www.scottklement.com/ftpapi/
Post Reply
basim
Posts: 13
Joined: Tue Oct 07, 2025 7:33 pm

Unable to convert data from CCSID 1208 to CCSID 819

Post by basim »

All,
I m facing this issue when i try to perform a get from a file in ifs to a physical file
CCSID of the IFS file is 819 (i got the same error even if the ccsid is 1208)
Any idea how bypass this error "Unable to convert data from CCSID 1208 to CCSID 819"
If i use the cpyfrmimpf command using ccsid 1208 it's work fine

Thanks

Basilio
Scott Klement
Site Admin
Posts: 945
Joined: Sun Jul 04, 2021 5:12 am

Re: Unable to convert data from CCSID 1208 to CCSID 819

Post by Scott Klement »

Why are you trying to convert from 1208 to 819?

Physical files are never in 819
basim
Posts: 13
Joined: Tue Oct 07, 2025 7:33 pm

Re: Unable to convert data from CCSID 1208 to CCSID 819

Post by basim »

Hi Scott,
What i m tryng to do is convert from 819 (ifs ccsid file) to 280 (italian ccsid)

Thanks
Scott Klement
Site Admin
Posts: 945
Joined: Sun Jul 04, 2021 5:12 am

Re: Unable to convert data from CCSID 1208 to CCSID 819

Post by Scott Klement »

But the error message says you are converting from 1208 to 819. That's not the same as converting from 280 to 819.... what am I missing?
basim
Posts: 13
Joined: Tue Oct 07, 2025 7:33 pm

Re: Unable to convert data from CCSID 1208 to CCSID 819

Post by basim »

You are right the message tell something different but based on the file present on IBM i. IFS ccsid is 819 and physical file have ccsid 280.
The orignal file is an ISO-8859 codification (8 bit)

Thanks
Post Reply