Returns a character string with all the alphabetic characters from a to z converted to their uppercase equivalent.
UPPERCASE(x)
x is an expression of type character. Conversion occurs if needed.
dcl s char (40) varying; s = 'Lead is an element with the symbol Pb'; s = uppercase(s); put skip list (s);
will print:
LEAD IS AN ELEMENT WITH THE SYMBOL PB
For structure expressions, only flat structures are allowed. Arrays, arrays of structures, and structure member arrays are not yet supported.