Using External Files and Devices |
What Are External Files? |
External files are files whose format is determined by the operating environment rather than by SAS. These files are not managed by SAS. External files include raw data files, files that contain SAS programming statements, and procedure output files.
Techniques for Accessing External Files |
The following SAS statements and functions are used to access external files on disk:
associate a fileref with an external file that you want to use for input or output. (For more information, see FILENAME Statement: OpenVMS and FILENAME Function: OpenVMS.)
opens an external file for reading data lines. (For more information, see INFILE Statement: OpenVMS.)
opens an external file for writing data lines. (For more information, see FILE Statement: OpenVMS.)
opens an external file for reading SAS statements. (For more information, see %INCLUDE Statement: OpenVMS.)
You also specify external files in various windowing environment fields (for example, as a file destination in the Results window or as a source input in an INCLUDE command).
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.