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


Qualifying the search string

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

You can specify additional characteristics of string1 by using the operands PREFIX, SUFFIX, CHARS, and WORD. You can abbreviate PREFIX, SUFFIX, and CHARS to PRE, SUF, and CHAR, respectively.
CHARS
Locates string1 anywhere the characters match. This is the default.
PREFIX
Locates string1 at the beginning of a word.
SUFFIX
Locates string1 at the end of a word.
WORD
string1 is delimited on both sides by blanks or other non-alphanumeric characters.
In this example, the editor would find the highlighted strings only:
CHARS 'DO'  - DO DONE ADO ADOPT 'DO' +ADO (DONE) ADO-

PREFIX 'DO' - DO DONE ADO ADOPT 'DO' +ADO (DONE) ADO-

SUFFIX 'DO' - DO DONE ADO ADOPT 'DO' +ADO (DONE) ADO-

WORD 'DO'   - DO DONE ADO ADOPT 'DO' +ADO (DONE) ADO-
If you do not specify an operand, the default is CHARS.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014