z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LC—Convert Characters to Lowercase

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The LC (lowercase) line command converts characters in a data set or member from uppercase to lowercase. However, it does not affect the caps mode of the data that you are editing.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-LC--+---+---------------------------------------------------><
       '-n-'   

Read syntax diagramSkip visual syntax diagram
>>-+-LCC--+----------------------------------------------------><
   '-LCLC-'   

n
The number of lines to be converted to lowercase. If you do not type a number, or if the number you type is 1, only the line on which you type LC is converted to lowercase.

Description

To convert characters on one or more lines to lowercase:

  1. Type LC in the line command field of the source code line that contains the characters you want to convert. If you also want to convert characters on one or more lines that immediately follow this line, type a number greater than 1 after the LC command.
  2. Press Enter. The characters on the source code lines are converted to lowercase.

To convert characters in a block of lines to lowercase:

  1. Type LCC in the line command field of both the first and last source code lines that contain characters that are to be converted. You can scroll (or use FIND or LOCATE) between typing the first LCC and the second LCC, if necessary.
  2. Press Enter. The characters in the source code lines that contain the two LCC commands and in all of the source code lines between them are converted to lowercase.

See the UC (uppercase) line command and the CAPS primary and macro commands, which are related, for information about converting characters from uppercase to lowercase and vice versa.

Examples

Figure 1 shows how to use the LC command without any operands. To convert a line, type LC in the line command field of the line you want to convert.

Figure 1. Before the LC (Lowercase) line command
Screen dump.

When you press Enter, the editor converts the characters in the line to lowercase. See Figure 2.

Figure 2. After the LC (Lowercase) line command
Screen dump.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014