Question : SAS 9.1 - Excel Import

Hi,

I get an error message in the log that I Excel is not valid for DBMS in the following code in running SAS 9.1:

PROC IMPORT OUT= WORK.SAS_Import_Test
            DATAFILE= "C:\Documents and Settings\gshrivi\My Documents\Vidya\Test.xls"
            DBMS=EXCEL REPLACE;
                  Sheet='Data';
     GETNAMES=YES;
RUN;

Please confirm why, and offer suggestions.

Thanks.

Answer : SAS 9.1 - Excel Import

and the file resides on which machine? the server or your local computer?

again, does the machine where you are running the code have license for sas/access for PC file formats? this appears to be the likely reason
Random Solutions  
 
programming4us programming4us