$UPCASEw. Format

Converts character data to uppercase.

Category: Character
Alignment: Left

Syntax

$UPCASEw.

Arguments

w

specifies the width of the output field.

Default 8 if the length of the variable is undefined; otherwise, the length of the variable.
Range 1–32767

Details

Special characters, such as hyphens and other symbols, are not altered.

Example

Statements
Results
----+----1
select put('coxe-ryan',upcase9.);
 COXE-RYAN