Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Converting alphanumeric and DBCS data to national data (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 tasks
Processing UTF-8 data
Processing Chinese GB 18030 data
Processing alphanumeric data items that contain DBCS data

related references
NATIONAL-OF (COBOL for Windows Language Reference)
Code page names (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)