Rational Programming Patterns for System z

References view

This view displays the results of the reference search requested for the instance currently selected in the Design Explorer view. This search was requested from the selected instance, with the References choice of its pop-up menu.

The search follows the composition links of the instance. The view title indicates which type of references is currently displayed, according to your search request:
  • The super references: the instances which reference the current instance,
  • The subreferences: the instances which are referenced by the current instance.
Example: If you search for a subreferences of a Program, you see all the instances that this Program calls, down to the finest level: Data Structures, Segments, and Data Elements. Moreover the subreferences always include the Library which contains the generation parameters of the instance.
Example: If you search for the super references of a Data Element, you see all the instances which call this Data Element, up to the highest level: Segments, Data Structures, Programs, Screens, Database Blocks.

The reference search also applies to the generated COBOL files.

If you right-click an instance in the tree, you can:
  • Open its editor or its COBOL file.
  • Search for its own super references or subreferences, which are then in turn displayed in the References view.
This view contains a toolbar from which you can:
  • Cancel the current search (Cancel current search).
  • View the previous reference searches (Show previous reference searches). Click the arrow associated with the icon to display a menu which contains:
    • The previous instances from which you requested a reference search. Select one of these instances to see its references in the view.
    • The History choice. This choice opens a window which shows the previous instances from which you requested a reference search. From this window, you can:
      • Select an instance and display its references (Open or Open in new view) or remove this instance from the history (Remove),
      • Change the number of instances displayed in the history (10 is the default) by clicking the Configure link.
    • The Clear History choice, to remove all the previous searches from the history.
  • Switch from the super references to the subreferences of the current instance (subreferences),
  • Switch from the subreferences to the super references of the current instance (super references).
  • Modify the way the instances are shown in this view. Click the white upside-down triangle icon (View menu) and select:
    • Top-level elements to indicate which element type constitutes the top of the hierarchy in the tree: folders (default value. Folders are entity types), packages or projects.
    • Sort to specify a new sort criterion: by name, package or project.
    • Display to display additional information about each instance line in the tree: package, project, label, relation. You can combine the four choices. If you want to remove one of the selected information from the line, select it again in the menu.
      Note: The relation is the name of the link between the source instance and the target instance. If this link occurs more than once (for example: if a Program calls the same Segment several times), the repetition number is displayed in parentheses, next to the relation name.
    This new setting is then automatically saved and associated with this view, until you change it again.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)