Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CAPS—Control Automatic Character Conversion z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The CAPS primary command sets the caps mode, which controls whether alphabetic data that you type at the terminal is automatically converted to uppercase during the edit session. Syntax.-ON--. >>-CAPS--+-----+----------------------------------------------->< '-OFF-'
DescriptionThe editor sets the caps mode according to the data in the file retrieved for editing. If caps mode has been on and the data contains lowercase letters, the mode switches and the editor displays a message indicating the change. Likewise, if caps mode is off and the editor contains all uppercase letters, the mode switches and the editor displays a message. Caps mode is saved in the edit profile. To override the automatic setting of caps mode, you can include the CAPS command in an initial macro. Caps mode is usually on during program development work. When caps mode is on, any alphabetic data that you type, plus any other alphabetic data that already exists on that line, is converted to uppercase when you press Enter or a function key. To set caps mode on:
Caps mode is usually off when you edit text documentation. When caps mode is set to off, any alphabetic data that you type remains just as you typed it. If you typed it in uppercase, it stays in uppercase; if you typed it in lowercase, it stays in lowercase. Alphabetic data already typed on a line is not affected. To set caps mode off:
The CAPS command does not apply to DBCS fields in formatted data or to DBCS fields in mixed fields. If you specify CAPS, the DBCS fields remain unchanged. See the LC (lowercase) and UC (uppercase) line commands and the CAPS macro command for more information about changing case. ExamplesThis example shows a practical application of CAPS command usage.
|
Copyright IBM Corporation 1990, 2014
|