Searching for COBOL, PL/I, HLASM, and REXX components

You can search for strings and regular expressions across all files or a specific subset of files based on location or name patterns by using the Search view. The Search view also enables you to preview side by side how each change would look like, giving you the option to perform and reject each change one by one, or all at once.

Take the sample files as an example. To search for components that generate and reference the "Daily Customer File Update" in the example program, take the following steps:

  1. Right-click the Explorer, and select Find in Folder....

  2. Enter the search term CUSTOMER-FILE and press the Return key.

    • Review some of the other search options such as using regular expressions and specifying patterns for files and folders to be excluded or included in the search.
    • To perform a regular expression search, select the .* icon and change the search term to CUST.*FILE and review the results.
  3. Results will appear in the Search Panel.

    • Clicking on the result will allow you to navigate to that location file in the Editor panel.
  4. (Optional) Perform a second search for the CRUNCH transaction to determine the affected components.

Last Updated:
Contributors: Greg Lambert, Lauren Li, Min Huang, Peter Haumer, Shi Kun Li