Overriding the default code page
In some cases, you might need to convert data to or from
a code page that differs from the CCSID that is specified
as the CODEPAGE
option value. To do so, convert
the item by using a conversion function in which you explicitly specify
the code page.
About this task
If
you specify a code page as an argument to the DISPLAY-OF
intrinsic
function, and the code page differs from the code page that is in
effect with the CODEPAGE
compiler
option, do not use the function result in any operations that
involve implicit conversion (such as an assignment to, or comparison
with, a national data item). Such operations assume the EBCDIC code page that is specified
with the CODEPAGE
compiler option.