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


X—Exclude Lines

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

The X (exclude) line command replaces one or more lines on the panel with a dotted line. The dotted line contains a message that specifies how many lines have been excluded.

The excluded lines are not erased. They are simply hidden from view and can still be affected by edit line, primary, and macro commands.

Syntax

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

Read syntax diagramSkip visual syntax diagram
>>-XX----------------------------------------------------------><

n
The number of lines to be excluded. If you do not type a number, or if the number that you type is 1, PDF excludes only the line on which you type the X command.

Description

To exclude one or more lines:

  1. Type X in the line command field of the line that you want to exclude. If you want to exclude one or more lines that immediately follow this line, type a number greater than 1 immediately after the X command.
  2. Press Enter. The lines are excluded from the panel.

To exclude a block of lines:

  1. Type XX in the line command field of both the first and last lines that you want to exclude. You can scroll (or use FIND or LOCATE) between typing the first XX and the second XX, if necessary.
  2. Press Enter. The lines that contain the two XX commands and all of the lines between them are excluded.

See Excluding lines for more information on using this command.

Examples

Figure 1 shows how lines are excluded from a member. To exclude six lines, type X6 in the line command field.

Figure 1. Before the X (Exclude) line command
Screen dump.
When you press Enter, the editor excludes the specified lines. See Figure 2.
Figure 2. After the X (Exclude) line command
Screen dump.

To redisplay excluded lines, use the F (show first line), L (show last line), or S (show lines) line command.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014