BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
98ighcfdvxcghjk
Calcite | Level 5

Hello,

 

I always have trouble starting procedures in SAS and I can never create a libname statement correctly on the first try. What i have currently is:

 libname xl XLSX "c:NidiaSAS\SASLearn\h188a.xlsx";
run;

But it gives me the errors 

ERROR: The XLSX engine cannot be found.
ERROR: Error in the LIBNAME statement.

 

I am not sure what I am doing wrong, can someone show me how to fix it so it can read my data?

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

@98ighcfdvxcghjk wrote:

Hello,

 

I always have trouble starting procedures in SAS and I can never create a libname statement correctly on the first try. What i have currently is:

 libname xl XLSX "c:NidiaSAS\SASLearn\h188a.xlsx";


How about this:

 

libname xl XLSX "c:\NidiaSAS\SASLearn\h188a.xlsx";

with a backslash after c:

--
Paige Miller

View solution in original post

3 REPLIES 3
SASJedi
SAS Super FREQ
Please check out the solution to this problem at https://communities.sas.com/t5/SAS-Analytics-U/ERROR-XLSX-engine-cannot-be-found/m-p/567972/highligh...
If that doesn't clear it up, let me know.
Check out my Jedi SAS Tricks for SAS Users
98ighcfdvxcghjk
Calcite | Level 5

That does not help me at all, after running the code it tells me I still get the same errors. 

PaigeMiller
Diamond | Level 26

@98ighcfdvxcghjk wrote:

Hello,

 

I always have trouble starting procedures in SAS and I can never create a libname statement correctly on the first try. What i have currently is:

 libname xl XLSX "c:NidiaSAS\SASLearn\h188a.xlsx";


How about this:

 

libname xl XLSX "c:\NidiaSAS\SASLearn\h188a.xlsx";

with a backslash after c:

--
Paige Miller

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

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.

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
  • 3 replies
  • 675 views
  • 1 like
  • 3 in conversation