Is there a simple macro out there that exports output of a sas dataset to excel? Note: I am using SAS EG 4.3 so unable to use PROC EXPORT.
You should be able to use PROC EXPORT, unless you don't have a license for it, or you're on a server and can't proc export to your local drive which is what you're trying to do.
Regardless, there is a macro that may work for you, see code/paper here:
http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export
If it is the server issue, see this post:
http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/
You should be able to use PROC EXPORT, unless you don't have a license for it, or you're on a server and can't proc export to your local drive which is what you're trying to do.
Regardless, there is a macro that may work for you, see code/paper here:
http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export
If it is the server issue, see this post:
http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/
What do you want the Excel files? Are you trying to create some review output files? If so then I would first recommend using a report format - proc report to PDF or RTF for instance, although if they insist on Excel, then ods tagsets.excelxp (google for results).
If you are transferring data, then don't use Excel, it is not useful in any way as a data transfer format. Use Comma Separated Variable format.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: