Syntax


CAPS

[ ON | OFF | AUTO | ? ]


Operands


 ON  |  OFF  |  AUTO

The desired CAPS status


?

Display the current status of the setting.


Description


The SPFLite CAPS setting is independent of the normal Windows keyboard Shift and Caps Lock handling. When ON is specified, it requests SPFLite to ensure that any modified line is Uppercased regardless of the current keyboard caps status. For example, CAPS ON would be a suitable default for the file types used to edit mainframe JCL job streams which must always be uppercase only.


If OFF is specified, then no automatic case conversion will be done.


SPFLite handles CAPS mode differently than IBM ISPF


Note that when CAPS ON is in effect, while you are typing in new characters on a data line, they will be entered in Uppercase regardless of whether you type in lower or upper case. If that is not what you wanted, issue the CAPS OFF command. Using CAPS ON is common for mainframe data, while CAPS OFF is more typical of PC data.


If you set CAPS mode to AUTO, the caps mode is “conformant”. The file is examined when loaded, and set to 'conform' to the data - on if the data is all caps, off if mixed case is present. This setting is only temporary. When you open the file again, the file examination is repeated. The “on” or “off” is displayed in lower case as a reminder that the current automatic/conformant caps mode is temporary, and is not stored in the PROFILE, whereas CAPS ON and CAPS OFF is stored in the PROFILE.


A CAPS AUTO command handling depends on the prior CAPS state


If CAPS AUTO is entered, and the current CAPS status is already AUTO, then it will cause the command to act as a toggle between CAPS AUTO:on and CAPS AUTO:off.