Analyzer Command
Allows you to use an editor (such as the Language Sensitive
Editor) to edit the source file displayed by the current PLOT
or TABULATE command.
Format
EDIT [[module-name\] line-number]
1 – Parameters
module-name
Positions the editor in the specified module. When you specify a
module, you must also specify a line number.
line-number
Positions the editor at the specified line number. If you specify
a line-number without a module-name, the module is assumed to be
the module at which you are currently positioned in the PLOT or
TABULATE source display. If you do not specify line-number, the
editor is positioned at the line at the center of the current
page of PLOT or TABULATE output.
2 – Description
The EDIT command invokes an editor to edit the source file
displayed by the current PLOT or TABULATE command. To edit the
default module, use a traverse command (see the Traverse_Commands
topic in HELP) or the /SOURCE qualifier on the PLOT or TABULATE
command and use a BY LINE or BY CODEPATH node specification.
If you specify no parameter on the EDIT command, the editor
is positioned at the central line of the PLOT or TABULATE page
currently shown on your terminal. The module-name and line-number
parameters allow you to position the editor at a different source
file or line.
When you exit from the editor, you are then returned to the
Analyzer session. However, if you use the /EXIT qualifier on the
EDIT command, the Analyzer session is terminated and the editor
is invoked in the same process.
The editor you call must be accessible from DCL level, and may be
set with the SET EDITOR command.
3 – Qualifiers
3.1 /EXIT
/EXIT
/NOEXIT
The /EXIT qualifier terminates the Analyzer session before
invoking the editor. The editor is then run in the same process
and you are returned to DCL level when exiting the editor.
The /NOEXIT qualifier returns you to the Analyzer session when
you exit the editor. /NOEXIT is the default.