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

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

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