$UPCASEw. Format

Converts character data to uppercase.
Category: Character
Alignment: left

Syntax

$UPCASEw.

Syntax Description

w
specifies the width of the output field.
Default:8, if the length of the variable is undefined. Otherwise, the default is the length of the variable
Range:1–32767

Details

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

Example

put @1 name $upcase9.;
Value of name
Result
----+----1
coxe-ryan
COXE-RYAN