![]() Chapter Contents |
![]() Previous |
![]() Next |
| FILE |
| Language element: | command |
| OpenVMS specifics: | valid values for file-specification |
| Syntax | |
| Details | |
| Examples | |
| Example 1: Copying Text from a Window to a File | |
| Example 2: Appending Text to an Existing External File | |
| See Also | |
Syntax |
| FILE <file-specification> <option-list> |
| Details |
You can also use a physical filename (enclosed in quotation marks) in place of the fileref.
![[cautend]](../common/images/cautend.gif)
If you have not issued any FILE or INCLUDE commands, then an error message informs you that no default file exists. For a list of default file types used for the FILE command, see Default File Types.
| Examples |
Suppose you have previously specified the following FILENAME statement:
filename sasfile '[mydir]program1.sas';
file sasfile
file myfile append
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.