03-24-2015 09:56 AM
We have recently migrated from SAS EG 4.1 to SAS EG 7.1.
Have an issue with PROC IMPORT, the below code is able to import data onto xls sheet.
We are using 32-bit MSOFFICE 2010.
PROC IMPORT OUT= WORK.PathParameter
However, the code generates below error :
ERROR 180-322: Statement is not valid or it is used out of proper order.
30 SHEET="Path Parameter";
I tried browsing for different for a resolution on blogs/communities.But could not get a resolution for this.
Could you please help me on this ?
03-24-2015 10:05 AM
I'm not sure that SCANTIME is supported with DBMS=XLS. It might be strictly for DMBS=EXCEL or EXCELCS. If using 64-bit SAS with 32-bit Office, try DBMS=EXCELCS -- this will use the SAS PC Files Server component, which should autostart on your Windows 64-bit SAS. If your SAS is not on Windows (for example, on Linux now), then more setup is required.
If you can get your data into XLSX format, then DBMS=XLSX might also work without additional setup.