CCSID 935 to CCSID 13488

20 pts.
Tags:
AS/400
CCSID
RPGLE
I have a file that is ccsid 935 containing some records with Chinese characters. I need to convert that file to its upgraded version that is ccsid 13488. (These are vendor files, therefore I have no control over their definitions.)  It is possible to simply copy the older file into the upgraded version with *map and *drop... the data is correct when viewed with the application. However there are a number of conversions that need to be done to the data for this upgrade to work with the newer applications. As soon as my RPGLE program tries to read a record containing the Chinese data it crashes with error CPF5029 (Data mapping error). I tried changing the eval statements to move statements for the fields that could contain Chinese characters but that didn't help since the failure occurs on the read, not the movement of the data. After digging around the internet I tried to use the control spec ccsid (*graph: 935) and control spec ccsid (*graph: 13488) - both resulted in compile error RNF1014 (The second parameter for keyword CCSID(*GRAPH) is not valid.) Any thoughts how resolve this problem would be appreciated. Thanks in advance, Carolyn
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: