Result view of a server usage search

This view displays the result of the server usage search that was requested on a Data Element from the Server Design Search or Server Subreference view. The search was started from the Usage search choice of the Data Element contextual menu. It was run directly on the Rational Team Concert™ server.

The view title and its associated tooltip display the main characteristics of the search and the number of the instances found.

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 a read-only mode in the editor area, on the Data Element usage line.

If you right-click a Data Element usage, you can do 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 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.
You can complete the following actions from the toolbar:
  • Expand all (Expand all). This command expands every tree item in this view.
    Note: This choice is reserved for a display in Hierachy mode.
  • Collapse all (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 (Run the current search again). This command runs the current search again to display the removed search results again or to apply the changes.
  • Cancel the current search (Cancel current search).
  • Show the previous searches (Show previous searches). Select this command to see the previous searches and to 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 result or to remove it from the history. You can also configure the number of the previous searches that are 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 (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 (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.

  • Export the query result (Export the query result) in a CSV format that can be used in a spreadsheet program.
  • Export the query result (Export the query result) in a CSV format that can be used in a spreadsheet program.

Feedback