ACUCOBOL-GT Appendices
Version 6.0

P.43 UPPER-CASE Function

The UPPER-CASE function returns a character string that is the same length as argument-1 with each lowercase letter replaced by the corresponding uppercase letter. The type of this function is alphanumeric.

    FUNCTION UPPER-CASE (argument-1)   

Argument-1 must be class numeric or alphanumeric and must be at least one character in length.

Returned Values
  1. The same character string as argument-1 is returned, except that each lowercase letter is replaced by the corresponding uppercase letter.
  2. The character string returned has the same length as argument-1.
  3. This function is similar to the library routine C$TOUPPER except that the original data is not modified, and the entire string is converted.

Acucorp, Inc.
Voice: (800) 262-6585 (U.S.A. and Canada)
Voice: (858) 689-4500
Fax: (858) 689-4550

Please share your comments on this manual
or on any Acucorp documentation with the
Acucorp Communications Department.
1988-2003 Acucorp, Inc.
All rights reserved.