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


Converting data items (intrinsic functions)

You can use intrinsic functions to convert character-string data items to several other formats, for example, to uppercase or lowercase, to reverse order, to numbers, or to one code page from another.

You can use the NATIONAL-OF and DISPLAY-OF intrinsic functions to convert to and from national (Unicode) strings.

You can also use the INSPECT statement to convert characters.

Examples: INSPECT statement

related tasks
Converting to uppercase or lowercase (UPPER-CASE, LOWER-CASE)
Transforming to reverse order (REVERSE)
Converting to numbers (NUMVAL, NUMVAL-C)
Converting from one code page to another


Terms of use | Feedback

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