An asterisk
( * ) that
appears in an
Enhanced Editor window title
bar indicates that the editor contains text that has not been saved
to disk.
Enhanced Editor windows that display
the name
Editor Untitledx in the title bar are new files that have never been saved. The
x indicates a window number.
To save the contents
of the
Enhanced Editor window, click the
Save toolbar button (the storage device). If the file
is to be saved for the first time, the
Save As dialog box appears for you to name the file.
To save a file with
a new name
-
Select
FileSave As
-
Select a folder in the
Save in field.
-
Type a filename in the
File name field.
-
Select a file type from
the
Save as type field.
-
If SAS ends unexpectedly, you can recover
the contents of Enhanced Editor windows if the autosave feature is
selected in the
Preferences dialog box. The
Enhanced Editor autosave files are saved in the operating environment
Application Data folder with the filename
Autosave
of filename.$AS
, where filename
is the name of the file. Under Windows Vista, Windows 7, and Windows
Server 2008, the pathname for the Application Data folder is
c:\Users\
userid\AppData\Roaming
. Under all other
Windows operating environments, the pathname for the Application Data
folder is c:\Documents and Settings\
user name\Application Data\SAS\EnhancedEditor. For example, the path to the
autosave file for MYPROGRAM.SAS in folder C:\TEMP would be
C:\Documents and Settings\myuserid\Application Data\SAS\EnhancedEditor\
Autosave of myprogram.$AS
SAS deletes autosave
files when a file is saved, when the
Enhanced Editor window closes, or when a SAS session ends normally. If you have
renamed a file and SAS ends abnormally, you will find the autosaved
file under the original filename.
The application data
folders are hidden by default by the operatin system. To view the
folders:
-
Select
StartComputerOrganizeFolder.
-
Select
Search OptionsView.
-
Select
Show
hidden files and folders.
-
Deselect
Hide extensions for know file types.
-