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?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Discussion stats
  • 4 replies
  • 1696 views
  • 0 likes
  • 2 in conversation