CAPS System Option

Specifies whether to convert certain types of input to uppercase.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Input control: Data processing
PROC OPTIONS GROUP= INPUTCONTROL
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

Syntax Description

CAPS
specifies that SAS translate lowercase characters to uppercase in these types of input:
  • data following CARDS, CARDS4, DATALINES, DATALINES4, and PARMCARDS statements
  • text enclosed in single or double quotation marks
  • values in VALUE and INVALUE statements in the FORMAT procedure
  • titles, footnotes, variable labels, and data set labels
  • constant text in macro definitions
  • values of macro variables
  • parameter values passed to macros.
Note:Data read from external files and SAS data sets are not translated to uppercase.
NOCAPS
specifies that lowercase characters that occur in the types of input that are listed above are not translated to uppercase.

Comparisons

The CAPS system option and the CAPS command both specify whether input is converted to uppercase. The CAPS command, which is available in windows that allow text editing, can act as a toggle. The CAPS command converts all text that is entered from the keyboard to uppercase. If either the CAPS system option or the CAPS command is in effect, all applicable input is translated to uppercase.

See Also

Commands:
“CAPS Command” in SAS Help and Documentation