Use the DISPLAY-OF intrinsic function to convert national data to an alphanumeric (USAGE DISPLAY) character string that is represented in a code page that you specify as the second argument.
If you omit the second argument, the output code page is determined from the runtime locale.
If you specify an EBCDIC or ASCII code page that combines single-byte character set (SBCS) and DBCS characters, the returned string might contain a mixture of SBCS and DBCS characters. The DBCS substrings are delimited by shift-in and shift-out characters if the code page in effect for the function is an EBCDIC code page.
Example: converting to and from national data
related concepts
The active locale
related tasks
Processing UTF-8 data
Processing Chinese GB 18030 data
related references
DISPLAY-OF
(COBOL for Windows Language Reference)
Code page names
(COBOL for Windows Language Reference)