Use the NATIONAL-OF intrinsic function to convert alphabetic, alphanumeric, or DBCS data to a national data item. Specify the source code page as the second argument if the source is encoded in a different code page than is in effect with the CODEPAGE compiler option.
Example: converting to and from national data
related tasks
Processing UTF-8 data
Processing Chinese GB 18030 data
Processing alphanumeric data items that contain DBCS data
related references
CODEPAGE
NATIONAL-OF (Enterprise COBOL Language Reference)