Referencing a Raw Data File
Using a FILENAME Statement
To do this...
|
Use this SAS statement...
|
Example
|
---|---|---|
Reference a SAS library
|
LIBNAME statement
|
libname libref
'SAS-data-library'; |
Reference an external file
|
FILENAME statement
|
filename tests
'c:\users\tmill.dat'; |
Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.