You can search for the usages of a Data Element in the
code that is entered manually in the PROCEDURE DIVISION of
generated Programs, Screens, or Servers (.cbl extension).
Procedure
- Open one of the following views:
- The Design Explorer view,
- The result view of a Design search,
- The result view of a Subreference search.
The location is which you want to start the search must be
open (
icon).
- Right-click a Data Element in one of these views and select Usage
search.
- In the dialog box that opens. you can filter the .cbl files
on which the search is to run. You can modify the default file name.
Note: If you start the search from the Design Explorer view
or from the result view of a Design search,
all the .cbl files of the location are proposed
by default. However, if you start the search from the results of a Subreference
search, the .cbl file from which
the reference search was run is proposed by default.
- Click OK.
Results
You automatically switch to the Usage search view,
where the search results are displayed..