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
Start of changeBIT-OFEnd of change Start of changeAlphanumericEnd of change Start of changeBIT-OF (Enterprise COBOL for z/OS® Language Reference) End of change
Start of changeBYTE-LENGTHEnd of change Start of changeIntegerEnd of change Start of changeFinding the length of data itemsEnd of change
DISPLAY-OF Alphanumeric Converting national to alphanumeric (DISPLAY-OF)
Start of changeHEX-OFEnd of change Start of changeAlphanumericEnd of change Start of changeHEX-OF (Enterprise COBOL for z/OS Language Reference) End of change
LENGTH Integer Finding the length of data items
LOWER-CASE, UPPER-CASE National Changing case (UPPER-CASE, LOWER-CASE)
NUMVAL, NUMVAL-C, Start of changeNUMVAL-FEnd of change Numeric Converting to numbers (NUMVAL, NUMVAL-C, NUMVAL-F)
MAX, MIN National Finding the largest or smallest data item
ORD-MAX, ORD-MIN Integer Finding the largest or smallest data item
Start of changeREVERSE End of change Start of changeAlphanumeric or nationalEnd of change Start of changeREVERSE (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeTEST-NUMVAL, TEST-NUMVAL-C, Start of changeTEST-NUMVAL-FEnd of changeEnd of change Start of changeIntegerEnd of change Start of change End of change
Start of changeTRIMEnd of change Start of changeAlphanumeric or nationalEnd of change Start of changeTRIM (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeULENGTHEnd of change Start of changeIntegerEnd of change Start of changeULENGTH (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeUPOSEnd of change Start of changeIntegerEnd of change Start of changeUPOS (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeUSUBSTREnd of change Start of changeAlphanumericStart of change or nationalEnd of changeEnd of change Start of changeUSUBSTR (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeUSUPPLEMENTARYEnd of change Start of changeIntegerEnd of change Start of changeUSUPPLEMENTARY (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeUVALIDEnd of change Start of changeIntegerEnd of change Start of changeUVALID (Enterprise COBOL for z/OS Language Reference) End of change
Start of changeUWIDTHEnd of change Start of changeIntegerEnd of change Start of changeUWIDTH (Enterprise COBOL for z/OS Language Reference) End of change

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 for z/OS Language Reference)  
Classes and categories of data (Enterprise COBOL for z/OS Language Reference)
Intrinsic functions (Enterprise COBOL for z/OS Language Reference)