The FILE command writes
the entire contents of the active window to an external file without
removing text from the window.
If you do not specify
a
file-specification, then
SAS uses the filename from the previous FILE or INCLUDE command. In
this case, SAS first asks you if you want to overwrite the file and
provides you with these selections:
If you have not issued any FILE or INCLUDE commands,
you receive an error message indicating no default file exists.
In the Enhanced Editor,
if the filename is eight characters or less, the file extension of
.SAS is appended to
file-specification. No extension is appended for a
file-specification longer than eight characters.