Result view of a usage search
This view displays the result of the usage search that was requested on a Data Element from the Design Explorer, Design Search or Subreference view. The search was started from the Usage search choice of the Data Element contextual menu.
The tooltip that is associated with the view title describes the search whose result is displayed in the view. You can then easily differentiate the various result views.
The search runs on the code that is entered manually
in the PROCEDURE DIVISION of generated Programs,
Screens, or Servers (.cbl extension). The following
information is displayed for each usage:
- The COBOL line number,
- The function and subfunction codes,
- The COBOL line of the Data Element usage,
- The Macro name if the Data Element usage comes from a Macro.
If you double-click a Data Element usage, the COBOL file opens in the editor area, on the Data Element usage line. You can modify the COBOL lines and save your modifications.
If you right-click a Data Element usage, you can
carry out the following actions:
- Go to the next match to select the next
usage in the file. More than one COBOL files can be displayed in the
view. When you reach the last usage of one file, this command opens
the next file and selects the first usage of the Data Element in this
file. This command is also available with the
button in the toolbar.
- Go to the previous match to select the
previous usage in the file. More than one COBOL files can be displayed
in the view. When you reach the first usage of one file, this command
opens the previous file and selects the last usage of the Data Element
in this file. This command is also available with the
button in the toolbar.
- Remove the selected matches to remove all
the selected usages from the view This command is also available with
the
button in the toolbar.
- Remove all matches to remove all the usages
from the view This command is also available with the
button in the toolbar.
You can also do the following
actions from the toolbar only:
- Expand all (
). This command expands every tree item in this view.
- Collapse all (
) This command collapses every tree item in this view.
- Run the current search again (
). This command runs the current search again, so that removed results are displayed again or changes are applied.
- Cancel the current search (
)
- Show the previous searches (
). This command displays the previous searches. You can run one of them again.
- If you select a previous search, its result is displayed in the view.
- If you select the History choice, you open a window that shows the 10 previous searches (by default). In this window, you can select a previous search to view its results or remove it from the history. You can also configure the number of the previous searches that is displayed in the history.
- If you select Clear History, all the previous searches are removed from the history.
- Export the query result (
). This command exports the result in a CSV format that can be used in a spreadsheet program.