On Fri, 2 Jan 2026 18:56:13 +0000, Farley, Peter wrote: >Currently Enterprise COBOL allows PIC X alphanumeric EBCDIC group and >elementary items to MOVE to UTF-8 (PIC U) and NATIONAL (PIC N) group and >elementary items with automatic character set translation, but the reverse >MOVE is not allowed. �There is no technical reason why the reverse MOVE should >not be allowed, since the character set translation logic is already in place >for a PIC X MOVE into PIC U and PIC N. > ... I suspect this uses internally something similar to: <https://www.ibm.com/docs/en/zos/3.2.0?topic=functions-iconv-code-conversion>
How should COBOL handle/report all the errors described there, some of which occur only in the "reverse" (from U) direction? >I have a bit more detail on the subject in the "idea" summary, please read >those details at the "ideas" page and vote for it. > >https://ideas.ibm.com/ideas/COBOLVUE-I-427 > >TIA for your votes. - gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
