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 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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 371 views
  • 0 likes
  • 2 in conversation