Common problem. I have lots of issues importing Excel spreadsheets with observations like #N/A, ot blanks in what should be numeric columns. Here's what you do:
Really obvious... NOT.
Reason for the Import from Excel (and actually other databases) mystery: use of Microsoft or other application data engine that responds to a SAS request from the named source. So there are no lines of code resulting that SAS could execute.
I had the same problem when importing a .csv. Drove me crazy because I have done it a 1000 times in the past. Solution:
options source;
I had options nonsource.
I just had the same problem. Was trying to import with a very simple proc import, csv. Got an error but no information. Had done this a million times before and couldn't figure out the problem. Finally I closed down SAS and re-opened it and it worked. Go figure.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.