Rational Programming Patterns

Searching for the references to an instance

You can search for its super references (the instances in which your current instance is called) or its subreferences (the instances called by your current instance).

Procedure

  1. In the Design Explorer view, open a location (it must be represented by open location).
  2. Click an entity line to display its instances already present in your location.
  3. Right-click an instance and select References > Subreferences or References > Super references.

    You can also search for the subreferences of a COBOL generated file (.cbl file nested under a Program, Screen, or Server) or of a map description file for a Screen (.map, .bms or .mfs file nested under a Screen instance).

    Note: From the References menu, you can also search for a Macro cross-references. This choice opens a specific result view.

Results

You automatically switch to the References view where the result of the reference search is displayed. The view title reminds the type of references displayed (References (Super) or References (Sub)) as well as the instance name.
Note: If you search for the subreferences of a generated file, the References view displays the instances involved in the file generation.

To toggle from the super references to the subreferences, click the subreferences button in the view toolbar.

To toggle from the subreferences to the super references, click the super references button.


Terms of use | Feedback

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