EDIT Subcommands-FILE r FIND FILE Use the FILE subcommand to write the edited file on disk and r optionallYr override the file identifier originally supplied in the EDIT
command. The format of the FILE subcommand is:r 1 , FILE L- 1 [fn (ft [fm]]] , ______________________________________________________________ -J fn indicates the filename for the file. If filename is
filetvpe and filemode cannot bespecified r and the
filename rfiletvpe r and filemode are used.
ft indicates the filetype for the file.
fm indicates the filemode for the file.
omitted,
existing
1.When vou specify a file identifier, any existing file that has an
identical fileid is replaced. If the file beingedited had been
previously written todisk r that copy of the file is not altered.
2.You can change the filename and filemode during the editing session
using theFNAME and FMODE subcommands.
TheCMS ready message indicates that the file has been written to disk
and control is returned to theeMS environment. FIND Use the FIND subcommand to locate a line based on its initial character
string. The format of the FIND subcommand is:r---- ------------------------, , Find L- line I r line] , is any character string, including blanks and tabs, that you to find beginning in column 1 of an input record. At
least one non-blank character must be specified. If line is not
specified or the line contains onlyblanks r the current line
pointer is moved down one line.
1.One blank can be used as a delimiter following the FIND subcommand;
additional blanks are considered part of the character string.
2. If the image setting isONr the editor expands tab characters to
the appropriate number of blanks before searching for the line.
228VM/370 eMS Command and Macro Reference
command. The format of the FILE subcommand is:
filetvpe and filemode cannot be
filename r
ft indicates the filetype for the file.
fm indicates the filemode for the file.
omitted,
existing
1.
identical fileid is replaced. If the file being
previously written to
2.
using the
The
and control is returned to the
string. The format of the FIND subcommand is:
least one non-blank character must be specified. If line is not
specified or the line contains only
pointer is moved down one line.
1.
additional blanks are considered part of the character string.
2. If the image setting is
the appropriate number of blanks before searching for the line.
228