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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.