Searching for Change Candidates in Change Analyzer

The Change Analyzer search facility contains two tabs:

  • The General tab opens the Interactive Analysis advanced search facility.
  • The Change Analyzer tab opens a scoped version of the advanced search facility for Change Analyzer.

Ordinarily, the scoped version of the tool should be sufficient for most searches. If you are already familiar with the advanced search facility, however, you may want to use it instead of the scoped tool.

Note: For COBOL programs, Change Analyzer returns only constants and literals found in the Procedure section.
  1. Select a file from the list of programs and click (Step 1: Find Change Candidates). A message informing you that all existing search and analysis results will be cleared is displayed in a dialog box. Click OK.
  2. The Change Analyzer Search window opens. Click the Change Analyzer tab. The Change Analyzer tab displays a list of recognized search criteria.
    Note: Define a new criterion as described in the help for the advanced search facility.
  3. Click a criteria to edit its definition in the Criterion tabs. Each tab specifies a condition in the definition. The definition can consist of any combination of conditions.
  4. For each condition, enter a list of patterns you want to match, one pattern per line. You can use wildcard patterns used in LIKE statements by Visual Basic for Applications (VBA). Select:
    • In the Name Like tab, specify patterns that are like the name of the field you are searching for.
    • In the Name Not Like tab, specify patterns that are unlike the name of the field you are searching for.
    • In the Picture Like tab, specify patterns that are like the format of the field you are searching for.
    • In the Value Like tab, specify patterns that are like the initial value of the field you are searching for.
  5. Check Use OR Connection Between Lists if you want the conditions specified in the tabs to have the OR operator applied. If this field is unchecked, the conditions have the AND operator applied.
  6. Check Used Data Items Only if you want the search results to consist only of fields that are used in the selected programs. If you do not select this option, search results include fields that are declared but not used.
  7. In the Search In list on the tool bar, you can choose from the following:
    • The selected file only.
    • The selected file with all included files.
    • The selected construct - Declaration.
    • All objects in the project.
    • A Code Search report.
  8. Click Find All Constructs to execute the search.
Change Analyzer returns the change candidates for the criterion in the starting point list. Any previous results are deleted.