Storing Files in a SAS Library

What Is a SAS File?

You store all SAS files in a SAS library. A SAS file is a specially structured file that is created, organized, and maintained by SAS. The files reside in SAS libraries as members with specific types. Examples of SAS files are as follows:
  • SAS data sets (which can be SAS data files or SAS data views)
  • SAS catalogs
  • SAS/ACCESS descriptor files
  • stored compiled DATA step programs
Note: A file that contains SAS statements, even one that is created during a SAS session, is usually not considered a SAS file. For example, in directory-based operating environments, a .sas file is a text file that typically contains a program and is not considered a SAS file.

Understanding SAS Data ...

Get Step-by-Step Programming with Base SAS 9.4 now with O’Reilly online learning.

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