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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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