An application user in our enterprize is trying to upload a UTF8 file to the Z/OS, and found out about the CODE=UTF8 parameter. However, in the UTF8 coding, some characters are coded as multibyte (2 to 4 bytes per a character), whereas in EBCDIC each character is represented by one byte. I was not able to find any documentation that describes how XCOM for Z/OS works in this scenario.
Has any of you customers used this parameter, and could please elaborate on how you used it and how did it help?
Z/OS System Administration team, UMTB
With help from Alexander Piesenecker, I found a way to do it:
1. Find the CCSID for the EBCDIC flavour that runs in your mainframe in the page:
These CCSID-tables are not owned by XCOM but they are universal.
2. Find a CCSID there for UTF8 (there are several, I took the first).
3. Code the former as LOCAL_CHARSET and the latter as REMOTE_CHARSET. In my case: