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
ERASE
ERASE Use the ERASE command to delete one or more eMS files from a read/write
disk. The format of the ERASE command is:
r -, I ERASE I fn ft fm [ (options ••• [) ]] , I I * * * , I I r , , I I IType I , I I , I , L j , L- fn is the filename of the to be erased. An asterisk coded
in this position indicates that all filenames are to be used.
fn must be specified, either with a name or an asterisk.
ft is the filetype of the file(s) to be erased. An asterisk coded
in this position indicates that all filetypes are to be used.
This field must be specified, either with a name or an asterisk.
fm is the filemode of the files to be erased. If this field is
omitted, only the A-disk is searched. An asterisk coded in this
position indicates that files with the specified filename and/or
filetype are to be erased from all read/write disks. TYPE displays at the terminal the file identifier of each file
erased. file identifiers are not displayed at the terminal. 1. If you specify an asterisk for both filename and filetype you must
specify both a filemode letter and number; for example:
erase * * as
2. To erase all files on a particular disk, you can use the FORMAT command to reformat it or access the disk using the ACCESS command
with the ERASE option.
3. If an asterisk is entered as the filemode, then either the filename
or the filetype or both must be specified by name.
Section 2. CMS Commands 81
Previous Page Next Page