EDIT Subcommands-FIND, FMODE 3. If the current line pointer is at the bottom of the file when the FIND subcommand is issued the search begins at the top of the file. When verification is on, the line is displayed at the terminal. If the
line is not found, the message: EOF: is displayed and you may use the REUSE (=) subcommand to search again,
beginning at the top of the file. FMODE Use the FMODE subcommand to display or change the filemode of a file.
The format of the FMODE subcommand is: r ----------------------------------------------------.--------, , FMode L- I [fm] , ______--J fm indicates the filemode that is to replace the current filemode
setting. You can specify only a filemode letter (A-G, S, Y, or Z),
or a filemode letter and number (0-5). If you specify a filemode the existing filemode number is retained.
1. The specified filemode is used the next time a FILE, SAVE, or
automatic save request is issued. If the file being edited had
been previously filed or saved, that copy of the file remains
unchanged.
2. If the disk specified by filemode already contains a file with the
same filename and filetype, that file is replaced when a FILE,
SAVE, or automatic save request is issued; no warning message is
issued.
3. If the filemode specified is that of a read-only disk, then when an
attempt is made to file or save the file, the editor displays an
error message.
If you enter the FMODE subcommand without specifying fm, the editor
displays the current filemode. When you specify a new filemode with the FMODE subcommand, the editor
writes the new filemode in the filemode field at the top of the screen.
section 3. EDIT Subcommands and Macros 229
EDIT SUbcommands-FNAME, FORMAT FNAME Use the FNAME subcommand to display or change the filename of a file.
The format of the FNAME subcommand is: r ---------, 1 FName , (fn] , '----- -----I fn indicates the filename that is to replace the current filename.
1. The specified filename is used the next time a FILE, SAVE, or
automatic save request is issued. If the file being edited had
been previously filed or saved, that copy of the file remains
unchanged.
2. If a file already exists with the specified filename and the same
filetype and filemode, that file is replaced; no warning message is
issued.
3. You can use the FRAME subcommand when you want to make multiple
copies of a file, with different filenames, without terminating your edit session.
If you enter the subcommand without specifying fn, the editor
displays the current filename.
When you issue the FNAME subcommand specifying a
editor writes the new name in the filename field
screen.
new filename, the
at the top of the FORMAT (3270 Only) Use the FORMA! subcommand to change the mode of a local or remote 3210
terminal from display to line or line to display mode. The format of
the FORMAT subcommand is: r------ , FORMat I L- DI SPL AY LINE
----------------------------------------------------------------, {
DISPLAY}
, LINE 1 ________ - _______ . ________________________________________________ -J specifies that a full screen display of data is to occur. Subcommands do not appear as part of the data displayed.
specifies that the display station is to operate as a typewriter terminal. Every line you enter is displayed on the
screen; the screen looks like a typewriter terminal's console she9t. 230 VM/370 eMS CommanR Reference
Previous Page Next Page