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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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