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.


 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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