Converting alphanumeric or DBCS to national (NATIONAL-OF)

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 for the data item.

Example: converting to and from national data

related references  
NATIONAL-OF (COBOL for AIX Language Reference)