Once you have generated a construct list in Code Search, you can use the list itself as a condition of a search. That is, you can use the search results to refine a subsequent search.
Suppose you have performed a Code Search for duplicate paragraphs in COBOL programs, storing the results in a list called Matched Paragraphs in the General folder. The next step might be to search for all PERFORM statements that reference the duplicate paragraphs. The example below shows how you might use a Code Search list of duplicate paragraphs as a condition of the search.
button next to the
button on the tool bar. In the drop-down, choose the type of object you want to execute the search against. The Search window
opens.
button on the tool bar. The New Criterion dialog opens. Enter
Perform Duplicates in the text field and click
OK.
Interactive Analysis creates the
Perform Duplicates criterion in the selected folder.
Find All Perform
Find Perform which has related any Paragraph (as Called Paragraph)
Find Perform
which has related Paragraph (as Called Paragraph)
which is in list
General.Matched Paragraphs