BookmarkSubscribeRSS Feed
sasthalie
Fluorite | Level 6

Hi,

I'm trying to use proc export on SAS OnDemand to export a dataset to Excel. However, the file only shows up with .bdat extension in my "My SAS files" on my SAS server. How can I have it show up with .xlsx then download it? 

 

Here's what I have used 

proc export data=
dbms=xlsx
outfile=" "
replace;
run;

 

Thank you

1 REPLY 1
ballardw
Super User

Best way to ask questions is often to include the actual log entry with the code and any notes.

Then we can tell if your output file name is appropriate. A very common problem is not including the full path for the file and the result, if created, appears somewhere other than expected.

 

Your code would not generate anything, no input data set, no output file name so not particularly helpful.

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

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 639 views
  • 0 likes
  • 2 in conversation