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
1 EDIT Subcommands-FORMAT, FORiARD
Line mode is the default for remote 3270s. If you are using a
remote 3270 in display mode, and you enter the INPUT subcommand, you are placed in line mode while you enter input. When you return
to edit mode, the full screen display is restored.
2. The FORMAT subcommand is treated as invalid under any of the
following conditions:
a. The NODISP option of the EDIT command was used to invoke the
editor.
b. The edit session wa s ini tia ted on a typewriter terminal. (The
session may optionally be continued on a 3270 after a
reconnection. ) obtain a full screen display, 70U must save your file and
restart your edit session.
3. The column settings for the VERIFY, TRUNC, and Z3NE subcommands
remain unchanged when you issue the FORMAT subcommande None.
FORWARD (Primarily 3270) Use the FORWARD subcommand to move
end of the file you are editing.
is: r I I FOrward I I r , I n I III L .J the current line pointer towards the
The format of the FORWARD subcommand L- n is the number of records you wish to move forward in the file being
edited. If n is not specified, 1 is assumed.
The FORWARD subcommand is equivalent to the DOWN and NEXT subcommands;
it is provided for the convenience of 3270 users.
When verification is on, the new current line is displayed. If the
number specified exceeds the number of lines remaining in the file, the
current line pointer is positioned at EOF:.
Section 3. EDIT Subcommands and Macros 231
Previous Page Next Page