The JCL Editor provides various ways to navigate to and
from variable declarations, even when a variable is declared in a
different file.
Procedure
- To jump to the location of the next or previous language
element, use the (Ctrl+Shift+Down) and (Ctrl+Shift+Up) actions.
- To navigate in a JCL program from a PROC parameter value
of an EXEC statement, a data set name, or a qualified data set member
name, do one of the following actions:
- Right-click the language element, and select Open
Declaration from the menu.
- Position the text cursor on language element and press the
F3 key.
- Hover the cursor over the language element, hold down the
Ctrl key, and click.
If the declaration is 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 open the Outline or Properties view
for the file that is open in the editor, select or .
- To navigate the annotations in the editor, use the Next
Annotation (Ctrl+.) and Previous Annotation (Ctrl+,)
actions. The types of annotations visited by these actions can be
configured on the Annotations page. To access
this preference, click or use the menu on
the toolbar.
- To jump to the editor location of your most recent text
change, do one of the following actions:
- To navigate to a specific line number, select Go
to Line and type the line number in the window that opens.
- When you use another view, such as the Outline view, a
navigation history entry is created. To jump to the previous editor
locations visited by these navigation commands, use the Back (Alt+Left)
and Forward (Alt+Right) actions. You can also
use the left arrow (
) icon to go back
to a previous location and the right arrow (
) icon to move forward. These icons are in the menu bar.