From the course: SAS® 9.4 Cert Prep: Part 02 Accessing Data

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Using a library to read SAS data

Using a library to read SAS data - SAS Tutorial

From the course: SAS® 9.4 Cert Prep: Part 02 Accessing Data

Using a library to read SAS data

- [Instructor] SAS libraries give you a way to specify the two required pieces of information, the location and file type, in a very simple and efficient way. You can think of a library as a collection of data files that are the same type and in the same location. You crate a SAS library with the LIBNAME statement. The statement begins with the keyword LIBNAME followed by a library reference, or libref. The libref is the name of the library, the libref must start eight characters or less, must start with either a letter or underscore, and can only include letters, numbers, and underscores in the name. After the libref, you specify the engine. The engine is the name of a behind the scenes set of instructions for reading structured data. There's a different engine for each type of data SAS can read including Base for SAS tables, Excel, Teradata, Hadoop, and many others. Engines enables SAS to read these structured data…

Contents