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.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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