EDIT EDIT Use the EDIT command to invoke the CMS editor to create, modify, and
manipulateeMS disk Once the editor has been invoked, you may
only execute EDIT subcommands and EDIT macro requests, and enter data
lines into the disk file. A limited number of commands may be
executed in theCMS subset mode, entered from the edit environment. You can return control to the CMS environment by issuing the EDIT
subcommands FILE orQUIT. For complete details on the EDIT subcommand formats and usage, see 3. EDIT Subcommands and Macros." For tutorial information on
using theCMS editor, including examples, see the The format of the EDIT command is: r- I Edit I I I I L- fn ft
fm
-------------------------------------------.---------,
fn ft [fm] [(options••• [)]] I * , (LRECL nn] [NODISP] I , , is the filename and filetype of the file to be created or
edited. If a file with the specified filename and filetype
does not exist, theeMS editor assumes that you want to create
a new file, and afteryou issue the INPUT all data
lines you enter become input to the file. If a file with the
specified filename and filetype exists, you may issue EDIT
subcommands to modify the specified file.
is the filemode of the file to be edited, indicating the disk
on which the file resides. The editor determines the filemode
of the edited file as follows: If the file does not reside on your
A-disk or its extensions, you must specifyfm. When you specify fm, the specified disk and its extensions are
searched. If a file is found on aread-only extension, the
filemode of the parent disk is saved; when you issue a FILE orSAVE subcommand, the modified file is written to the parent
disk.
If you specify fm as an asterisk (*) all accessed disks are
searched for the specified file. If you do not specify fm, the new file is
written onyour A-disk when you issue the FILE or SAVE subcommands. Section 2. Commands 79
manipulate
only execute EDIT subcommands and EDIT macro requests, and enter data
lines into the disk file. A limited number of
executed in the
subcommands FILE or
using the
fm
-------------------------------------------.---------,
fn ft [fm] [(options
edited. If a file with the specified filename and filetype
does not exist, the
a new file, and after
lines you enter become input to the file. If a file with the
specified filename and filetype exists, you may issue EDIT
subcommands to modify the specified file.
is the filemode of the file to be edited, indicating the disk
on which the file resides. The editor determines the filemode
of the edited file as follows:
A-disk or its extensions, you must specify
searched. If a file is found on a
filemode of the parent disk is saved; when you issue a FILE or
disk.
If you specify fm as an asterisk (*) all accessed disks are
searched for the specified file.
written on