10-07-2015 10:55 AM
I have data on excel. There are two (#1 and #2) students answering few questions (1, 2 and 3). I am trying to read these data into SAS. I have written the following code. But it does not work.
proc import out=Report.student;
datafile= '/......./ ......./......./Report.xlsx';
There are blank spaces in the sheet too. How can I write "Missing" in those blank spaces?
10-07-2015 11:05 AM
Please describe "doesn't work". Was there an error? Incomplete data? Unexpected data? No data?.
In SAS Missing is a special property for not assigned data. If you want to see the word "MISSING" displayed for those value you use a Format.
10-07-2015 01:30 PM
It is a very good idea to always use a full path for filenames. That would cause that. A full posting of the error message my provide additonal information.
Issues come up with environment such as SAS University Edition or server set up what that may consist of. Servers often are not set up by default to see your local hard drive and an admin needs to help you set upt the syntax and network settings. University Edition only sees locations subordinate to the virtual machine install locaction. All data must be in a path subordinate to that location.