BookmarkSubscribeRSS Feed
Ananyayadav
Calcite | Level 5
I am trying to run IMPORT in one of the excel file but i am facing some error. please have a look:
 
proc import datafile='/folders/myfolders/Datasets/cars_excel.xlsx'
dbms=xlsx
out=test.car_dummy;
getnames=no;
run;
 
and the error appearing in log is window is: 
 
ERROR: Physical file does not exist, /folders/myfolders/Datasets//cars_excel.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.04 seconds
cpu time 0.06 seconds
 
i have already located excel file i.e., cars_excel.xlsx in above path.can anyone clarify where i am wrong?
 
2 REPLIES 2
ballardw
Super User

Also your path in the error does not match the path in shown code.

 

With errors it is best to copy the submitted code and the error message from the log and then paste into a code box here using the forum's {I} icon. The message windows will sometimes reformat the text moving some of the indicators SAS places for some error messages to a different location. Copying both from log removes questions about whether "code" shown was what was actually submitted.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 734 views
  • 0 likes
  • 3 in conversation