BookmarkSubscribeRSS Feed
omega1983
Calcite | Level 5

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.

2 REPLIES 2
LinusH
Tourmaline | Level 20

What do you mean by "has issues"?

Do you get any error messages? Is your data corrupt?

Data never sleeps
Ron_MacroMaven
Lapis Lazuli | Level 10

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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 699 views
  • 0 likes
  • 3 in conversation