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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 577 views
  • 0 likes
  • 3 in conversation