FMODE

CMS EDIT Subcommands

fmode.helpedt.txt
FMODE                                                       CMS EDIT subcommand

Use the FMODE subcommand to display or change the filemode of a file.  The
format of the FMODE subcommand is:
+----------+------------------------------------------------------------------+
| FMode    | [fm]                                                             |
+----------+------------------------------------------------------------------+
where:

fm       indicates the filemode that is to replace the current filemode
         setting.  You can specify a filemode letter (A-Z), or a filemode
         letter and number (0-6).  If you specify a filemode letter, the
         existing filemode number is retained.


Usage Notes:

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 already 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.

Responses:

If you enter the FMODE subcommand without specifying fm, the editor displays
the current filemode.