BookmarkSubscribeRSS Feed
srinivasa_attot
Fluorite | Level 6

Hi,


We are unable to open an .xls file generated by a SAS program on a local desktop. However, the same program works correctly when generating an .xlsx file.

 

Error message: “We found a problem with some content in <filename.xls>.”

 

This issue started occurring after upgrading to SAS 9.4 M8. The same functionality was working fine in SAS 9.4 M7.

 

Note: There are no special characters in the file.

 

Statement: 
proc export data=sample outfile=/home/raju/filename.xls" dbms=xls
replace;
run;

 

Regards,
Srinivas

4 REPLIES 4
sbxkoenk
SAS Super FREQ

Are you running into this?

Problem Note 40383: An unreadable content error occurs when you open Microsoft Excel files that were created by a 64-bit Excel driver
https://support.sas.com/kb/40/383.html

 

BR, Koen

srinivasa_attot
Fluorite | Level 6
I tried the article, but it did not help.
PaigeMiller
Diamond | Level 26

@srinivasa_attot wrote:

 

 

Statement: 
proc export data=sample outfile=/home/raju/filename.xls" dbms=xls
replace;
run;

 


Is this a typographical error? You need a double quote after outfile= to match the double-quote at the end of the file name.

--
Paige Miller
srinivasa_attot
Fluorite | Level 6

It's a typo error.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch 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
  • 4 replies
  • 104 views
  • 0 likes
  • 3 in conversation