proc import datafile= "C:\Users\Desktop\bankmarketing.csv"
out=bankmarketing
dbms=csv
replace;
delimiter=';';
getnames=yes;
run;
Error: physical file does not exist.
Error: import unsuccessful
Are you working with a server? The file path would have to be visible from the server.
Which version of SAS are you running? University Edition uses 1) Linux path descriptions and 2) the file system starts with the shared folder and not the desktop, the file would have to be in the shared folder set up in the VM AND file path and names are case sensitive.
Generally "desktops" are very poor places for data files. Learn your file system and put them somewhere meaningful. And doesn't "USERS" have an actual user name afterwards?
the datasets is taking from uci machine learning. i don't know why am find it difficult to access the data.
If you are using SAS UE or a server-based SAS, this:
proc import datafile= "C:\Users\Desktop\bankmarketing.csv"
can never work, as neither the UE virtual machine nor a server can "see" your C: drive.
So it is now essential that you reveal which SAS environment you are using.
Are you missing a userid in the path (as in MYUSERID below)?
Usually it would be "c:\users\MYUSERID\Desktop\bankmarketing.csv"
Thank you for concern. I changed my datasets to German credit. I have finished the task already.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.