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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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