Commands That Are Not Specific to UNIX |
Changes the default case of text.
Category: |
Text editing, command-line command
|
The CAPS
command is toggled on and off. The first time you issue the CAPS command,
it reverses the current setting. If the current setting is ON, then issuing
the CAPS command changes the setting to OFF. If the current setting is OFF,
then issuing the CAPS command changes the setting to ON.
- ON
-
turns on the CAPS command. The case of characters that you
enter after you turn on the CAPS command is uppercase. Character strings for
the FIND and CHANGE commands are also translated into uppercase unless they
are enclosed in quotation marks.
- OFF
-
turns off the CAPS command. The case of characters that
you enter after you turn off the CAPS command is unchanged.
The CAPS command changes the case for text not yet entered,
or for text that is modified in a window. If you specify CAPS ON and enter
text, the text is changed to uppercase as soon as you press ENTER or RETURN.
The setting remains in effect for a window until the SAS session ends, or
until the setting is changed by another CAPS command. You can use the WSAVE
command to save the setting of the CAPS command beyond your current SAS session.
The CAPS ON command is similar to the CU and CCU commands,
and to the CL and CCL commands, which change the case of existing text. However,
the CAPS command changes the default case of text, not the case of existing
text.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.