DATA Step, Macro, Functions and more

permanent data sets

Reply
N/A
Posts: 0

permanent data sets

I read in the SAS help documentation about how to create permanent data sets but I'm very confused. My operating system is Windows XP and I usually store my data sets in the desktop directory. I'm trying to use the corr statement,

ods graphics on;
proc corr data=sashelp.cars;
var enginesize weight;
with mpg_city mpg_highway;
run;
ods graphics off;

I know that we are using the variables from the sashelp.cars data set. But I want to use the variables from a sas data set that I stored in my desktop. How can I make reference to my data set,

proc corr data=???;

in other words, how can I tell SAS that the data set I want to use is stored in my desktop and it's called let's say lossdata.
Contributor
Posts: 35

Re: permanent data sets

Posted in reply to deleted_user
libname desktop "C:\Documents and Settings\username\Desktop\";

proc corr data=desktop.lossdata;
N/A
Posts: 0

Re: permanent data sets

Thank you!
Ask a Question
Discussion stats
  • 2 replies
  • 137 views
  • 0 likes
  • 2 in conversation