$UPCASEw. Informat

Converts character data to uppercase.
Category: Character

Syntax

$UPCASEw.

Syntax Description

w
specifies the width of the input 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, are not altered.

Example

input @1 name $upcase3.;
Data Line
Result
----+----1
 
sas
SAS