BookmarkSubscribeRSS Feed
mayoralc
Calcite | Level 5

Hi all, thank you for you help. I cannot import excel files into SAS 9.4.

 

The error is the following:

 

ERROR: Connect: Class not registered
ERROR: Error in the LIBNAME statement.

4 REPLIES 4
Reeza
Super User

Do you have the required license?

You would need SAS Access to PCFILES.

 

You can check what's licensed with:

 

proc setinit;run;

And what's installed with:

proc product_status;run;

@mayoralc wrote:

Hi all, thank you for you help. I cannot import excel files into SAS 9.4.

 

The error is the following:

 

ERROR: Connect: Class not registered
ERROR: Error in the LIBNAME statement.


 

mayoralc
Calcite | Level 5

Hi, thank you for your answer, I have checked it out, I have access interface to DB2 and access to pc files according to the log

Reeza
Super User

Then post the full code and log that's generating the errors.

 


@mayoralc wrote:

Hi, thank you for your answer, I have checked it out, I have access interface to DB2 and access to pc files according to the log


 

mayoralc
Calcite | Level 5

I have made it using:

 

libname in xlsx 'C:\xxx.xlsx';
proc copy inlib=in outlib=work; run;

 

But still it is messy since it import all sheets. How can I get my wizard back to select what sheets I want to import into which libs?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Discussion stats
  • 4 replies
  • 2412 views
  • 0 likes
  • 2 in conversation