BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hi...
proc export data=sashelp.class (where=(sex='F'))
outfile='c:\Femalelist.xls'
dbms=excel
replace;
run;

while running the above code i got this ERROR message

ERROR: DBMS type EXCEL not valid for export.

thanks...
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
According to this Tech Support note:
http://support.sas.com/kb/6/976.html

"The error will likely occur if SAS/ACCESS to PC File Formats is not licensed on the SAS Server."

There is an example of creating a CSV file on the above site. It is also possible that your site has licensed SAS/Access to PC File Formats, but that it was not installed on your server or on the right server. You can check with your SAS administrative folks or with Tech Support for help debugging this.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 838 views
  • 0 likes
  • 2 in conversation