/* The libname specifies a file, not a directory */ libname sat spss '/home/grego1/STAT 540/LowCountry.por'; /* The extension is always getsurv */ data a; set sat.getsurv; proc print data=a (obs=10); /* Note that labels are preserved, but not values */ proc freq data=a; table admit; run; /* Import Lowcountry.sav and assign it work.a */ libname lowc '/home/grego1/STAT 540/'; run; proc import out=work.a file="/home/grego1/STAT 540/LowCountry.sav" dbms=spss replace; run; /* Save the file to a permanent SAS data set and inspect it */ data lowc.b; set a; /* Labels and values are preserved, though values may not be saved permanently */ proc print data=lowc.b (obs=10) label; proc freq data=lowc.b; table admit; run;