BookmarkSubscribeRSS Feed
Nivethitha
Calcite | Level 5

Hi,

I am using xlsx engine in libname statement and I got the below error in SAS studio.

Can anyone help me to resolve this error? Thanks!

 

Code:

libname __amspec xlsx "../../data/spec/M16-109_ADaM Specs1.xlsx";

 

Error message in SAS log:

ERROR: The XLSX engine cannot be found.
ERROR: Error in the LIBNAME statement.
ERROR: Libref __AMSPEC is not assigned.


proc setinit;
run;


NOTE: PROCEDURE SETINIT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

Original site validation data
Current version: 9.04.01M7P080620
CPU A: Model name='' model number='' serial=''.
Expiration: 29NOV2022.
Grace Period: 45 days (ending 13JAN2023).
Warning Period: 46 days (ending 28FEB2023).
System birthday: 03JAN2022.
Operating System: LIN X64 .
Product expiration dates:
---Base SAS Software 29NOV2022 (CPU A)
---SAS/STAT 29NOV2022 (CPU A)
---SAS/GRAPH 29NOV2022 (CPU A)
---SAS/ETS 29NOV2022 (CPU A)
---SAS Integration Technologies 29NOV2022 (CPU A)
---SAS/Secure 168-bit 29NOV2022 (CPU A)
---SAS Enterprise Guide 29NOV2022 (CPU A)
---SAS/ACCESS Interface to PC Files 29NOV2022 (CPU A)
---SAS/ACCESS Interface to ODBC 29NOV2022 (CPU A)
---SAS Workspace Server for Local Access 29NOV2022 (CPU A)
---SAS/ACCESS to Hadoop 29NOV2022 (CPU A)
---High Performance Suite 29NOV2022 (CPU A)
---SAS Add-in for Microsoft Excel 29NOV2022 (CPU A)
---SAS Add-in for Microsoft Outlook 29NOV2022 (CPU A)
---SAS Add-in for Microsoft PowerPoint 29NOV2022 (CPU A)
---SAS Add-in for Microsoft Word

 

proc product_status;
run;

For Base SAS Software ...
Custom version information: 9.4_M7
Image version information: 9.04.01M7P080520
For SAS/Secure 168-bit ...
Custom version information: 9.41_M4

7 REPLIES 7
Nivethitha
Calcite | Level 5

I will check with the SAS administrator. Thank you! 

SASKiwi
PROC Star

SAS/ACCESS Interface to PC Files provides the XLSX engine.

KathyKiraly
SAS Employee

PROC SETINIT displays the products your company or school has licensed. PROC PRODUCT_STATUS displays the products that are installed

proc product_status;

run;

You must have SAS/ACCESS Interface to PC Files in SAS release 9.4 M2 or higher to use the XLSX engine.

CheeHian
SAS Employee

I have the same problem when I run this code:

Wychkraft_3-1695266691830.png

 

"engine XLSX cannot be found" error occurred.

Wychkraft_1-1695266625184.png


After I ran PROC PRODUCT_STATUS; run;, I can see that I have "SAS/ACCESS Interface to PC Files" and the version is 9.4 M7.

Wychkraft_0-1695266543056.png

So what else am I missing?

 

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 7 replies
  • 4940 views
  • 4 likes
  • 5 in conversation