Filtering by attribute values (Search)

You can limit a list panel of resource definitions to displaying only those resource definitions whose attribute values meet your search criteria. Search criteria consist of one or more conditions of the form:

attribute_name comparison_operator test_value

where comparison_operator can be one of the following, depending on the attribute:

EQ or =
Equal to
GE or >=
Greater than or equal to
GT or >
Greater than
LE or <=
Less than or equal to
LT or <
Less than

Encoded attributes with a fixed list of predetermined values may only use the operators EQ or NE. If the attribute value is text, then you can use the masking characters * (to mask zero or more characters) and + (to mask a single character) in the test value. If the test value includes masking characters, then only the operators EQ or NE may be used.

For example, the following condition limits the list panel of resource definitions to resource definitions changed after April 2005:

CHANGETIME GT 2005/04

Search criteria can contain up to three sets of four conditions each. Within each set, conditions are grouped by Boolean AND operators. Sets are grouped by Boolean OR operators. You can select or deselect each set, so you can use them separately or in combination.

Figure 1. Search criteria for resource definition attribute values: up to three sets of four conditions

Each resource type has separate search criteria. CICSĀ® Configuration Manager stores search criteria in your ISPF user profile: each CICS Configuration Manager user has their own search criteria.

To define search criteria for a resource type:

  1. Display the list panel of resource definitions:
    1. On the primary menu, select option 2 CICS Resources.

      The list of CICS configurations appears.

    2. Enter S next to a CICS configuration.

      The list panel of resource definitions appears, prompting you to specify a filter.

  2. Select a resource type.
  3. On the command line, enter SEARCH.

    The search criteria panel for the selected resource type appears.

  4. Select New search.
  5. Specify one or more search conditions.
  6. Enter / next to one or more of the search criteria sets.
  7. Press the Exit key (F3).

    The list panel of resource definitions reappears, with the message:

    n rows excluded by the Search Criteria.

To search within the current results, enter the SEARCH command again, and then select the search method Search within results.

Note: Any change to the resource filters always results in a new search, in order to honor the new filter values.

Information Information

Feedback


Timestamp icon Last updated: Friday, 7 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///ccv-ispf-filter-search.htm