BookmarkSubscribeRSS Feed
ldr_miranda
Calcite | Level 5

I am really new to this but i want to import the cars data set that is part of the libraries so when i try to import it , it will appear anyone know the steps? Thank you!

2 REPLIES 2
ballardw
Super User

You can test that the set exists as mentioned by @Kurt_Bremser by running code like this:

 

Proc contents data=sashelp.cars;
run;

which will give a description of the data set and variables it exists or the log would show a data set does not exist error.

 

Many practice or training examples of code use some of the data sets supplied in the SASHELP library, so you might look in that library for versions of the data set before worrying about  "importing" them.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 672 views
  • 0 likes
  • 3 in conversation