|Functions and CALL Routines
Converts all letters in an argument to uppercase.
specifies a character constant, variable,
In a DATA step, if the UPCASE function
returns a value to a variable that has not previously been assigned a length,
then that variable is given the length of the argument.
The UPCASE function copies a character argument, converts
all lowercase letters to uppercase letters, and returns the altered value
as a result.
The results of the UPCASE function depend directly on the translation
table that is in effect (see TRANTAB System Option) and indirectly on the
ENCODING System Option and the LOCALE System
SAS National Language Support (NLS): Reference Guide.
name=upcase('John B. Smith');
JOHN B. SMITH
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.