1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 68 options mrecall; %macro importXLSX(data,data2,getnames); options validVarName=any; proc import datafile="/home/u63984272/macros/&data..xlsx" dbms=xlsx out=&data2 replace; getnames=&getnames; sheet="Sheet2"; *datarow=n; *range="range name"; *mixed=yes; run; quit; %mend importXLSX; 83 options dlcreatedir; libname target "/home/u63984272/macros"; NOTE: Libref TARGET was successfully assigned as follows: Engine: V9 Physical Name: /home/u63984272/macros %importXLSX(data=sheet2.XLSX,data2=target.sheet2,getnames=yes); ERROR: Physical file does not exist, /home/u63984272/macros//sheet2.XLSX. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE IMPORT used (Total process time): folder target is empty and sheet2.xlsx is only in /home/u63984272/macros//sheet2.XLSX.
... View more