You can use arguments of class national with the intrinsic functions shown in the table below.
| Intrinsic function | Function type | For more information |
|---|---|---|
| DISPLAY-OF | Alphanumeric | Converting national to alphanumeric (DISPLAY-OF) |
| LENGTH | Integer | Finding the length of data items |
| LOWER-CASE, UPPER-CASE | National | Converting to uppercase or lowercase (UPPER-CASE, LOWER-CASE) |
| NUMVAL, NUMVAL-C | Numeric | Converting to numbers (NUMVAL, NUMVAL-C) |
| MAX, MIN | National | Finding the largest or smallest data item |
| ORD-MAX, ORD-MIN | Integer | Finding the largest or smallest data item |
| REVERSE | National | Transforming to reverse order (REVERSE) |
You can use national decimal arguments wherever zoned decimal arguments are allowed. You can use national floating-point arguments wherever display floating-point arguments are allowed. (See the related reference below about arguments for a complete list of intrinsic functions that can take integer or numeric arguments.)
related tasks
Defining numeric data
Using national data (Unicode) in COBOL
related references
Arguments (Enterprise COBOL Language Reference)
Classes and categories of data (Enterprise COBOL Language Reference)