The System z® LPEX Editor and COBOL Editor in Rational® Developer
for System z provide
a variety of ways to navigate to and from data items.
About this task
You can navigate to and from data items as follows:
Procedure
- To navigate in a COBOL program from a data item reference
in the PROCEDURE division to the data item declaration in the DATA
division, perform one of the following actions:
- Position the text cursor on the data item reference, and press
the F3 key.
- Hold down the Ctrl key, position the text cursor on the data
item reference, and click.
- Right-click the data item reference, and select Open
Declaration.
In the COBOL Editor, if the declaration is located
in the same file as the reference, the editor navigates to the declaration
in the same editor. If the declaration is in a collapsed region,
the region is expanded. If the reference is in another file and the
location of the file can be determined, the source file is opened
in a new instance of the editor.
- To go back to the previous location (in this case, to the
PROCEDURE division), click the left arrow (
) icon in the menu bar.
- To move forward again to the previously navigated location
(in this case, to the DATA division), click the right arrow (
) icon in the menu bar.