Plex 2E

 View Only
  • 1.  AS400 Format SYS UNICODE change CCSID

    Posted Dec 09, 2015 07:59 AM

    – I would like to read data from an AS400 UNICODE file with CCSID different from 1200.

    My RPGIV compilation stops with “RNF7579 - The KFLD has a different CCSID from the key in the file”.

    If I change RPGIV source code CCSID lines from 1200 to “13488” manu-ally, the compilation ends successfully and my “BlockFetch function” is working just fine.

    How can I change CCSID for my Plex model fields or entity?

    Best regards,

    Kenneth



  • 2.  Re: AS400 Format SYS UNICODE change CCSID
    Best Answer

    Posted Dec 09, 2015 12:57 PM

    have you read 5A - CA Plex Unicode.pdf

     

    UTF-16 (CCSID 1200) was chosen to be supported (read hard coded) as opposed to UCS-2 (CCSID 13448). You are out of luck. 



  • 3.  Re: AS400 Format SYS UNICODE change CCSID

    Posted Dec 10, 2015 02:36 AM

    Thanks GeorgeJeffcock for your info.

    I’ll put that into my documentation and continue handling CCSID manually from the generated RPGIV source code

    /Kenneth



  • 4.  Re: AS400 Format SYS UNICODE change CCSID

    Posted Feb 18, 2016 03:10 AM

    I don't know everthing or can't trust everything you read.

     

    Here is some help from our old friend Kiyoshi (chatting something else but this came up)

     

    *"Your answer is bad!!! Just create Logical that override column level CCSID to 1200 and let it use from Plex function.. 13488 + X = 1200"

    Kiyoshi