BookmarkSubscribeRSS Feed
SeanKing
Calcite | Level 5

Im having trouble reading these two data sets into SAS on demand for Academics.  Can someone assists me in getting the raw data into SAS studio?  My path in excel is

C:\Users\sking\Desktop\SAS exercises\SAS Data

However, my path in SAS studio is /home/seaneking10/xavier/boston.csv  I think my dilemma is these two paths not being the same.  How do I go about changing the path in SAS studio  so it reflects the path file on my C drive?  There is an upload feature in SAS on demand for Academics which allows you to upload from your desk top I've tried that and still got error messages.  So again, I have attached two data sets can someone please assist me with the code to get these two data sets read into SAS on demand for academics?

I believe my code should read:

Data boston;

infile C:\Users\sking\Desktop\SAS exercises\SAS Data\ boston.csv' dlm=',' firstobs =2;

input  var : $ $  : 4.2;

run;

proc print;

Again my path in SAS on demand for academics reads  /home/seaneking10/xavier/boston.csv  How do I change this to reflect the path in the C drive?  I've tried to doing this manually and was unsuccessful

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 1229 views
  • 0 likes
  • 1 in conversation