Using national data (Unicode) in COBOL
In COBOL for Linux®, you can specify national (UTF-16) data in any of several ways.
These types of national data are available:
- National data items (categories national, national-edited, and numeric-edited)
- National literals
- Figurative constants as national characters
- Numeric data items (national decimal and national floating-point)
addition, you can define national groups that
contain only data items that explicitly or implicitly have
NATIONAL, and that behave in the same way as elementary category
national data items in most operations.
These declarations affect the amount of storage that is needed.
Defining national data items
Using national literals
Using national-character figurative constants
Defining national numeric data items
Using national groups
Converting to or from national (Unicode) representation
Comparing national (UTF-16) data