The UPPER-CASE Function

The UPPER-CASE function returns a character string that is the same length as argument-1 with each lower-case letter replaced by the corresponding upper-case letter. The type of this function depends on the argument as follows:
Argument Type Function Type
Alphabetic Alphanumeric
Alphanumeric Alphanumeric
National National
UTF-81 UTF-8

General Format



  1. Argument-1 must be class alphabetic, alphanumeric,

    ENTMF national, or UTF-8

    , and must be at least one character in length.
  2. If argument-1 is alphanumeric, it must not contain any UTF-8 encoded characters.

Returned Values

  1. The same character string as argument-1 is returned, except that each lower-case letter is replaced by the corresponding upper-case letter.
  2. If argument-1 is not of class UTF-8, the character string returned has the same length as argument-1.

    ENTMF For UTF-8 arguments, the returned string may have a different byte length than the byte length of argument-1.