Indexed search

Use the indexed search to search for words in one or more partitioned data sets that are not load libraries. The search uses an index that contains all of the words and the occurrences of each word in a group of data sets.

The indexed search is quick way to search for all occurrences of a word in one or more partitioned data sets. The search supports pattern matching with wild cards. Wild card characters provide a convenient way to specify pattern matching characters. You can also use Boolean operators to specify more than one word. Unlike the Enhanced Search command, the indexed search is not a sequential search across data sets. It relies on a pre-built index to quickly identify matches.


The following is a list of terms and a description of the artifacts used by the indexed search:
Index directory
A partitioned data set containing index members and corresponding descriptions.
Index member
An index definition that contains the following artifacts:
Index file
KSDS data set name containing all of the words and occurrences defined in a group of data sets.
Language file
Language definition to identify words in the associated group of data sets.
Data set 1-n
Partitioned data sets grouped by language.

Checklist - steps required to set up the indexed search

The following are the high-level steps that must be performed before you can perform an indexed search:
  1. Define ISPF commands for invoking the indexed search utility. See Setting up the indexed search ISPF command.
  2. Define one or more index directory data sets. See Creating a new index directory data set.
  3. Define one or more index members. See Index definition members.
  4. Build the index. See the "B" line command in Index List panel.
  5. Perform a search. See the "S" command in Index List panel to select an index member for searching, Invoking the XFind command, or the Index Search panel for details on search expressions and navigation.