EDIT [ HPTOOLSET XL Reference Manual ] MPE/iX 5.0 Documentation
HPTOOLSET XL Reference Manual
EDIT
Opens a file for editing.
Syntax
ED[IT] [filename] [line position]
Parameters
Filename Name of the file you want to edit. It must be a TSAM
file that is owned by the current workspace. If you do
not name a file, TOOLSET/XL will display the currently
open edit file. If no file is open for editing,
TOOLSET/XL will open the file associated with the
current context or prompt you for a name.
Line position The number of the line at which you want your edit file
displayed. If you do not specify a line number, the
beginning of your file will be displayed, or it will
begin at the point at which you last viewed it.
Description
You can edit only one file at a time. It must be the latest version of
the file and it has to belong to your current workspace. An edit file
can be:
(1) a file named in a command or a file marked in the SHOW
FILES or SHOW SOURCE menu
(2) a file associated with the line marked or the line at
the top of your screen when a listing is displayed or
(3) a file associated with the current breakpoint when
running a program with Symbolic Debug.
If the specified edit file does not exist, a new file will be created
with its name. The default group and account of your file is the same as
the group and account of the current workspace. They may be different
from your logon group and account.
When an edit file is created, the SET EDIT menu is displayed to allow you
to change any of the defaults. The default language is the same as the
workspace language.
Example
>>EDIT MYFILE
-->File MYFILE.group.account open for editing
MPE/iX 5.0 Documentation