The following import worked when I used PCSAS. I was converted to Enterprise Guide(EG) a few weeks ago.
PROC IMPORT OUT= SRV_WORK.mylist1
DATAFILE= "C:\SAS\March_2013.xlsx"
DBMS=EXCEL REPLACE;
GETNAMES=YES;
RANGE="Sheet1$";
MIXED=NO;
SCANTEXT=YES;
USEDATE=YES;
SCANTIME=YES;
RUN;
EG has issues with importing data and creating a work file. Other than going with a datalines options is there a work-around. I am using 5.1 version if that helps.
What do you mean by "has issues"?
Do you get any error messages? Is your data corrupt?
check that your filename.extension of .xlsx
is in alignment with
dbms=Excel
SAS/ACCESS(R) 9.3 Interface to PC Files: Reference
Microsoft Excel Workbook Files
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.