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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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