ERASE
ERASEUse 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 theFORMAT command to reformat it or access the disk using the ACCESS command
with theERASE 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
ERASE
disk. The format of the ERASE command is:
r
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.
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,
position indicates that files with the specified filename and/or
filetype are to be erased from all read/write disks.
erased.
specify both a filemode letter and number; for example:
erase * * as
2. To erase all files on a particular disk, you can use the
with the
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.