x
Get Certified as a SAS Base Programmer
28
Training Modules |
200+
Exam Questions |
100%
Instructor Support |
100%
Pass Guarantee |
|
Lesson 2.3: Library Reference
IMPORTANT! We have recently updated our training materials. Check out the latest free training here. Since we are now working with two types of library ('Work' library and the self-created library), we will have to refer to the datasets by the LIBRARY REFERENCE (Libref).
Let's take a look at the example below. Example LIBNAME SASLib "/folders/myfolders"; DATA WORK.SASCrunch; Set SASLib.Example; RUN; In the example above, WORK.SASCrunch refers to the 'SASCrunch' dataset from the WORK library. Similarly, SASLib.Example refers to the 'Example' dataset from the SASLib Library. DONE! You have learned how to refer to datasets from the various libraries. Note:
The codes above will work just the same as the one in the previous example.
|
|