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 view title and its associated tooltip display the main characteristics of the search and the number of the instances found.
- 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.
- 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 from 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 from the toolbar.
- Remove the selected matches to remove all the selected usages from the view. This command is also available from the toolbar.
- Remove all matches to remove all the usages from the view. This command is also available from the toolbar.
- Expand all (
). This command expands every tree item in this view.Note: This choice is reserved for a display in Hierachy mode. - Collapse all (
) This command collapses every tree item in this view.Note: This choice is reserved for a display in Hierachy mode. - 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.
- Modify the display mode of the search results. Two display modes are
available:
- Hierarchy (
). The highest branches are constituted of the selected top-level element: entity, project, or package (irrelevant for the maintenance of a Pacbase application).
If the view displays the results of an advanced design search, an additional element can be displayed between parentheses after the instance name, according to the search implementation.
- Flat (
).From the header of any column, you can modify the display of the search results. By clicking a header, you can display the search results according to the ascending or descending order of the column content. By selecting a header and dragging it, you can move the column.
If the view displays the results of an advanced design search, the column that corresponds to the specific criterion of the advanced search is added to the standard columns. A Transaction code column is added for a search on Screens by transaction codes, a Format column is added for a search on numeric Data Elements or Data Elements by format, and a Relational Name column is added for a search on Data Elements by relational name. For user search patterns, the specific columns vary according to the search implementation.
- Hierarchy (
- Export the query result (
) in a CSV format that can be used in a spreadsheet program. In the
export wizard, you must select a file with a .CSV extension. Then, if you click
Next, you can select the data to be exported.