$MSGCASEw. Format

Writes character data in uppercase when the MSGCASE system option is in effect.
Category: Character
Alignment: left

Syntax

$MSGCASEw.

Syntax Description

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

Details

When the MSGCASE= system option is in effect, all notes, warnings, and error messages that SAS generates appear in uppercase. Otherwise, all notes, warnings, and error messages appear in mixed case. You specify the MSGCASE= system option in the configuration file or during the SAS invocation.

Example

put name $msgcase.;
Value of name
Result
sas
SAS

See Also

System Options:
MSGCASE System Option: UNIX in SAS Companion for UNIX Environments
MSGCASE System Option: Windows in SAS Companion for Windows
MSGCASE System Option: z/OS in SAS Companion for z/OS