Using the operator line
You use the operator line to specify an operator that FM/Db2 uses in conjunction with the filter pattern specified in the corresponding area on the filter line. You can specify operators for more than one column if necessary. Normally, you only specify an operator for a column where you have also specified a filter pattern.
To enter an operator in the operator line, type the required operator
anywhere within the operator area for the required column. Processing
occurs left to right. FM/Db2 only recognizes the first operator encountered
and any other characters entered in the operator field are ignored.
For example, if you type =>
in the operator field,
FM/Db2 treats it as =
, and ignores the >
.
To remove an operator, overtype the operator with a space.
- Blank
- Means
like
. Any *, %, or _ characters in the corresponding filter pattern are treated as special characters. A match occurs if the filter pattern matches the data after considering any special characters. - ! (or) ¬
- Means
not like
. Any *, %, or _ characters in the corresponding filter pattern are treated as special characters. A match occurs if the filter pattern does not match the data after considering any special characters. - =
- Means
equals
. For numeric data types, special characters in the corresponding filter pattern are not allowed. For non-numeric data types, *, %, and _ characters are allowed but are not treated as special characters. *, %, and _ characters match themselves only. - !=, ¬=, (or) <>
- Means
not equals
. For numeric data types, special characters in the corresponding filter pattern are not allowed. For non-numeric data types, *, %, and _ characters are allowed but are not treated as special characters. *, %, and _ characters match themselves only. - <
- Means
less than
. For numeric data types, special characters in the corresponding filter pattern are not allowed. For non-numeric data types, *, %, and _ characters are allowed but are not treated as special characters. *, %, and _ characters match themselves only. - <=, !>, (or) ¬>
- Means
less than or equal to
. For numeric data types, special characters in the corresponding filter pattern are not allowed. For non-numeric data types, *, %, and _ characters are allowed but are not treated as special characters. *, %, and _ characters match themselves only. - >=, !<, (or) ¬<
- Means
greater than or equal to
. For numeric data types, special characters in the corresponding filter pattern are not allowed. For non-numeric data types, *, %, and _ characters are allowed but are not treated as special characters. *, %, and _ characters match themselves only. - >
- Means
greater than
. For numeric data types, special characters in the corresponding filter pattern are not allowed. For non-numeric data types, *, %, and _ characters are allowed but are not treated as special characters. *, %, and _ characters match themselves only.
- X
- Excludes the column from the data display. The effect is the same as editing the template and de-selecting the column, followed by a re-display of the data.
- W*
- Resets the display width for the column to the maximum value for the column. The command is only effective when entered against a column that has a non-numeric data type.
- Wnnn
- Sets the display width for the column to nnn (nnn must be an integer between 6 and the maximum possible display width for the column). The command is only effective when entered against a column that has a non-numeric data type.
When you specify an operator for a column, FM/Db2 first applies the operator to the corresponding filter pattern and then only selects objects where the contents of that column match the resultant filter pattern.
- Pattern filter (operator)
- Selects objects where column…
- ABC* (blank)
- Contains any alphanumeric string starting with
ABC
- ABC* (=)
- Contains the string
ABC*
- ABC* (¬)
- Does not contain the string
ABC*
- A (>)
- Contains an alphanumeric string whose first character is greater
than
A
- A_C (¬>)
- Contains an alphanumeric string whose first three characters are
less than or equal to the string
A_C
- 123 (=)
- For numeric columns: contains the value 123
- 23 (<)
- For numeric columns: contains a value less than 23
- The database creator is SHRIKES
- The storage group name starts with the letter K
- The internal database identifier is greater than 264
- Under the column heading DATABASE CREATOR, type
SHRIKES
on the filter line. - Under the column heading STORAGE GROUP NAME, type
K*
on the filter line. - Under the column heading INTERNAL DATABASE IDENTIFIER, type
264
on the filter line and type>
on the operator line. - Press Enter. A list of database object types is displayed, restricted to the search criteria you specified: