Referencing SAS Files

Referencing Permanent SAS Data Sets

To reference a permanent SAS data set in your SAS programs, use a two-level name consisting of the library name and the data set name:
In the two-level name, libref is the name of the SAS library that contains the data set, and data set is the name of the SAS data set. A period separates the libref and data set name.
Figure 2.3 Two-Level Permanent SAS Name
Two-Level SAS Name

Referencing Temporary SAS Files

To reference temporary SAS files, you can specify the default libref Work, a period, and the data set name. For example, the two-level name, Work.Test, references the ...

Get SAS Certification Prep Guide, 5th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.