AUTOSAVE CMS EDIT subcommand Use the AUTOSAVE subcommand to set, reset, or display the automatic save function of the editor. When the automatic save function is in effect, the editor automatically issues the SAVE subcommand each time the specified number of changes or insertions are made. The format of the AUTOSAVE subcommand is: +----------+------------------------------------------------------------------+ | AUTOsave | [OFF|n] | +----------+------------------------------------------------------------------+ where: OFF turns off the automatic save function. This is the initial setting. n is a decimal number between 1 and 32767, indicating the frequency of the automatic save function. One SAVE subcommand is issued for every n lines that are changed, deleted, or added to the file. Usage Notes: 1. Each line affected by the $MOVE macro is treated as one update. However, all changes caused by a single CHANGE, DELETE, DSTRING, GETFILE, or OVERLAY subcommand are treated as a single update, no matter how many lines are affected. 2. If you are editing a file on a read-only disk, and an automatic save request occurs, the message: SET NEW FILEMODE AND RETRY is issued. You can enter CMS subset and access the disk in read/write mode, or use the FMODE subcommand to change the filemode to the mode of a read/write disk. If you were in input mode, you are placed in edit mode. 3. The message "SAVED" is displayed at the terminal each time the save operation occurs. Responses: If you issue the AUTOSAVE subcommand with no operands, the editor displays the current setting of the automatic save function.