EDIT EDIT Use the EDIT command to invoke the CMS editor to create, modify, and
manipulate eMS 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 the CMS subset mode, entered from the edit environment. You can return control to the CMS environment by issuing the EDIT
subcommands FILE or QUIT. For complete details on the EDIT subcommand formats and usage, see 3. EDIT Subcommands and Macros." For tutorial information on
using the CMS 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, the eMS editor assumes that you want to create
a new file, and after you 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 specify fm. When you specify fm, the specified disk and its extensions are
searched. If a file is found on a read-only extension, the
filemode of the parent disk is saved; when you issue a FILE or SAVE 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 on your A-disk when you issue the FILE or SAVE subcommands. Section 2. Commands 79
LRECL nn is the record length of the file to be created or edited. Use this option to override the default values supplied by
the editor r which are determined as follows: Existing record length is kept
regardless of format. If the file has variable-length
records and the existing record length is less than the default record length r the default record length is used. All new files have a record length of RO r with the following exceptions: LISTING SCRIPTrVSBDATA FREEFORT LRE£1 121
132
81 The maximum record length supported by the editor is 160 characters. forces a 3270 display terminal into line (typewriter) mode. When the NODISP option is in effect, all subcommands that
control the display as a 3270 terminal such as SCROLL, SCROLLUP r and FORMAT (and CHANGE with no operands) are made
invalid for the edit session.
Note: It is recommended that the NODISP option always be used when editing on a 3066. NEW FILE:
EDIT:
The specified file does not exist.
The edit environment is entered. You may issue any valid EDIT
subcommand or macro request. The input environment is entered
REPLACE or INPUT with no operands.
accepted as input to the file.
by issuing the EDIT subcommands
All subsequent input lines are INVALID OPTION 'option' RC=24 DMSEDI024E FILE 'EDIT CMSUTl fm' ALREADY EXISTS RC=28 DMSEDI029E INVALID PARAMETER 'parameter' IN THE OPTION 'LRECL' FIELD DMSEDI044E RECORD LENGTH EXCEEDS ALLOWABLE MAXIMUM RC=32 DMSEDI054E INCOMPLETE FILEID SPECIFIED RC=24 DMSEDI076E ACTUAL RECORD LENGTH EXCEEDS THAT SPECIFIED RC=40 DMSEDll04S ERROR Inn' READING FILE 'fn ft fm' FROM DISK RC=100 DMSEDll05S ERROR Inn' WRITING FILE 'fn ft-fm' ON DISK RC=100 DMSEDI117S ERROR WRITING TO DISPLAY TERMINAL RC=100 DMSEDI132S FILE tfn ft fm' TOO LARGE RC=88 DMSEDI143S UNABLE LOAD SAVED SYSTEM OR LOAD MODULE RC=40 DMSEDI144S REQUESTED FILE IS IN ACTIVE STATUS 80 VM/370 CMS Command and Macro Reference
Previous Page Next Page