Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
EXCLUDE—Exclude Lines from the Display z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The EXCLUDE macro command hides lines that contain a search string from view, and replaces them with a dashed line. To see the lines again, you enter either the RESET or RESET EXCLUDED command. Syntax.-.ZFIRST--.ZLAST-. .-NEXT--. >>-ISREDIT--EXCLUDE--string--+-----------------+--+-------+-----> '-labela--labelb--' +-ALL---+ +-FIRST-+ +-LAST--+ '-PREV--' .-CHARS--. >--+--------+--+---------------------+------------------------->< +-PREFIX-+ +-start_col-----------+ +-SUFFIX-+ '-left_col--right_col-' '-WORD---'
Note: For more information
about restricting the search to only a portion of each line, see Limiting the search to specified columns.
DescriptionYou can use the EXCLUDE command with the FIND and CHANGE commands to find a search string, change it, and then exclude the line that contains the string from the panel. To
exclude the next non-excluded line that contains the letters ELSE without
specifying any other qualifications, include this command in an edit
macro:
Since no other
qualifications were specified, the letters ELSE can
be:
To exclude the next line that
contains the letters ELSE, but only if the letters
are uppercase, include this command in an edit macro:
This
type of exclusion is called a character string exclusion (note the C that
precedes the search string) because it excludes the next line that
contains the letters ELSE only if the letters are
found in uppercase. However, since no other qualifications were specified,
the exclusion occurs no matter where the letters are found on a non-excluded
line, as outlined in the previous list.For more information, including other types of search strings, see Finding, seeking, changing, and excluding data. Return codes
ExamplesThis example excludes the first
non-excluded line in the data set that contains the letters ELSE.
However, the letters must occur on or between lines labeled .E and
.S and they must be the first four letters of a word:
This
example excludes the last non-excluded line in the data set that contains
the letters ELSE. However, the letters must occur
on or between lines labeled .E and .S and they must be the last four
letters of a word.
This example excludes the first
non-excluded line that immediately precedes the cursor position and
that contains the letters ELSE. However, the cursor
must not be positioned ahead of the lines labeled .E and .S. Also,
the letters must occur on or between the labeled lines; they must
be standalone characters (not part of any other word); and they must
exist within columns 1 and 5:
|
Copyright IBM Corporation 1990, 2014
|