Differences between revisions 1 and 2
Revision 1 as of 2022-06-08 19:58:14
Size: 530
Comment:
Revision 2 as of 2023-03-16 02:19:28
Size: 531
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
libname myfile 'path/to/file'; filename myfile 'path/to/file';

SAS References

SAS can access the file system directly, but also supports syntax for creating abstract references to the file system.


Libname

The LIBNAME statement creates a reference (a libref) to a data file.

libname mydata 'path/to/data';


Filename

The FILENAME statement creates a reference (a fileref) to any type of file.

filename myfile 'path/to/file';


CategoryRicottone

SAS/References (last edited 2023-03-16 02:19:28 by DominicRicottone)