BookmarkSubscribeRSS Feed
Ananyayadav
Calcite | Level 5

hey..i m getting error in exporting file in sas.

 

my code was: 

proc export data=lib.car_sales
outfile='F:\SASUniversityEdition\myfolders\Book1.xlsx'
dbms=xlsx;
run;

 

and my error was:

 

ERROR: DBMS type XLSX not valid for export.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE EXPORT used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds

 

Please help me out.

2 REPLIES 2
Tom
Super User Tom
Super User

You are either running an older version of SAS or you do not have SAS/Access to PC Files licensed.

Reeza
Super User

Since you're using SAS University Edition, you need to export it to the myfolders location you set up. So your export should be:

 

proc export data=lib.car_sales
outfile='/folders/myfolders/Book1.xlsx'
dbms=xlsx;
run;

@Ananyayadav wrote:

hey..i m getting error in exporting file in sas.

 

my code was: 

proc export data=lib.car_sales
outfile='F:\SASUniversityEdition\myfolders\Book1.xlsx'
dbms=xlsx;
run;

 

and my error was:

 

ERROR: DBMS type XLSX not valid for export.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE EXPORT used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds

 

Please help me out.


 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 644 views
  • 0 likes
  • 3 in conversation