FNAME

CMS EDIT Subcommands

fname.helpedt.txt
FNAME                                                       CMS EDIT subcommand

Use the FNAME subcommand to display or change the filename of a file.  The
format of the FNAME subcommand is:
+----------+------------------------------------------------------------------+
| FName    | [fn]                                                             |
+----------+------------------------------------------------------------------+
where:

fn       indicates the filename that is to replace the current filename.


Usage Notes:

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 the disk already specified by filename 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.  You can use the FNAME subcommand when you want to make multiple copies of a
    file, with different filenames, without terminating your edit session.

Responses:

If you enter the FMODE subcommand without specifying fn, the editor displays
the current filename.