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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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