On the one hand, the @SEARCH-OPTION statement can be used to specify whether the @ON statement is to differentiate between uppercase and lowercase in the search term when searching for strings and, on the other, it can be used to define a global column range to which the search is restricted if the @ON statement contains no explicit column range specification.
Operation | Operands | F mode, L mode |
@SEARCH- | {CASELESS-SEARCH [={ ON | OFF}] | COLUMN-RANGE [=cols]} [,...] |
CASELESS-SEARCH= | |
The operand specifies whether a distinction is to be made between | |
ON | The search with @ON does not consider whether the characters in the |
OFF | The uppercase/lowercase notation of a character is taken into consideration |
COLUMN-RANGE= | |
The operand provides a global specification for the column range to which | |
cols | Contiguous column range to which searches using the @ON statement are If no column range is specified then the setting is reset to the value defined |
EDT uses the system component XHCS when assigning lowercase characters to uppercase. Which characters are treated as an uppercase/lowercase pair therefore depends on the definition of the associated character set attributes in XHCS.
The option CASELESS-SEARCH=ON
is effective independently of the setting made with @PAR LOWER. Consequently, in F mode with @PAR LOWER=OFF hits may be displayed in which the located characters are depicted as smudge characters.