How to import an excel file without xlsx or excel engine? Is there any alternative for it?
Save it as a .csv and then import the .csv.
If you're working in a Windows environment and need to automate things then you could write a vb script and call the vb script for saving the excel as .csv (if the SAS option is set to XCMD and not NOXCMD)
Hi Patrick,
Thanks for your response.
AFAIK, Libreoffice is available on Linux and can be run in batch mode from the commandline to do such conversions.
Hi @PSARAVANAN
Have you tried to run a proc import:
proc import datafile="&path/your_file.xlsx"
dbms=xlsx
out=work.mydata
replace;
sheet=/*put sheet name*/;
run;
@ed_sas_member wrote:
Hi @PSARAVANAN
Have you tried to run a proc import:
proc import datafile="&path/your_file.xlsx" dbms=xlsx out=work.mydata replace; sheet=/*put sheet name*/; run;
I think that the OP's problem is that they do not have ACCESS to PC Files licensed, so that won't work.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.