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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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