Previous Topic: DISPLAY ROLLBACK CommandNext Topic: Operand Definitions


EXCLUDE Command

The EXCLUDE command locates all lines that do not contain a string of characters and suppresses the display of those lines in the display region.

The EXCLUDE command applies to certain components (see Components Used with the EXCLUDE Command). When editing a report definition, working data, or parameter definition, EXCLUDE applies only to the field name. You can use the ERROR operand to exclude statements the compiler marked as errors in a procedure definition.

Use the COLUMNS operand or the SET EDIT BOUNDS command to restrict the search to an inclusive range of columns. You can also limit the range of lines to search.

This command has the following format:

EXCLUDE [/string/] [LINE[S] startline [endline]]
        [ERROR   ]
           [COLUMNS startcolumn  [MAX       ]]
           [                      [endcolumn]]