Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Intrinsic functions and national data

You can use arguments of class national with the intrinsic functions shown in the table below.

Table 1. Intrinsic functions and national character data
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 references  
Arguments (Enterprise COBOL Language Reference)  
Classes and categories of data (Enterprise COBOL Language Reference)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)