Using this code:
*read excel using proc import;
libname sasfiles 'C:\saslib';
proc immport data file=c:\MyExcel\houses.xlsx out=h1 dbms=xlsx replace;
It says PROCEURE IMPORT NOT FOUND
Using SAS studio/SAS on demand for academics
How do I fix this?
@explenture wrote:
Using this code:
*read excel using proc import;
libname sasfiles 'C:\saslib';
proc immport data file=c:\MyExcel\houses.xlsx out=h1 dbms=xlsx replace;
It says PROCEURE IMPORT NOT FOUND
Using SAS studio/SAS on demand for academics
How do I fix this?
Look VERY closely at the log message. Does is say "Procedure IMPORT" or "Procedure IMMPORT"?
Hopefully you can copy text from the LOG where those messages occur. Paste that text, the entire procedure code and messages into a text box opened on this forum with the </> icon to show us the exact message and submitted code.
If you are using SAS On Demand it does not see your hard drive at all. You have to upload your files to the work space and then import there. Similarly Libraries won't be created on your hard drive, only on the work space in On Demand.
*permanent library to save files;
libname sasfiles 'C:\saslib';
*import raw data, Houses, into work library;
proc import datafile="c:\MyExcel\houses.xlsx" out=h1 dbms=xlsx replace;
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.