Hi all
I have this first piece of code that works fine
proc import datafile="~/NAS/A/myfolder/myfile.csv"
out=work.myfile
dbms=csv
replace;
delimiter=";";
getnames=no;
run;
and a roughly similar piec of code, just trying to import a xlsx instead of csv, in the same folder
proc import datafile="~/NAS/A/myfolder/anotherfile.xlsx"
out=work.myfile
dbms=xlsx
replace;
getnames=yes;
run;
that tells me stuff like
712 libname _XLSXIMP xlsx "/home/SXXXXXX/NAS/A/Myfolder
712 ! /anotherfile.xlsx
ERROR: Could not load excel spreadsheet "/home/SXXXXXX/NAS/A/Myfolder/anotherfile.xlsx": No such file o
directory.
713 header=YES
714 ;
715 data work.anotherfile;
716 set _XLSXIMP.'_firstsheet_'n;
^
ERROR: Library "_XLSXIMP" is not known
717 ;
718 run;
NOTE: DATA step was not executed because of errors detected
NOTE: The data step took :
real time : 0.000
cpu time : 0.001
719 libname _XLSXIMP clear;
WARNING: The library "_XLSXIMP" is not defined, so cannot be cleared
720 quit; run;
721 ODS _ALL_ CLOSE;
Anyhow I can stick with csv if I'm stuck but I thought you guys might get me out of that one
Best regards,
Gorz