Previous Page | Next Page

SAS System Options

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

Syntax
Syntax Description
Comparisons
See Also

Syntax

CAPS | NOCAPS

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.  [cautionend]

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

Command:

CAPS in SAS Help and Documentation

Previous Page | Next Page | Top of Page