Proc export does not work

Posted on 2014-01-14
Last Modified: 2016-02-10
When i execute the following code :
filename  tst  "c:\data\best.xlsx" ;
proc export data = number
     outfile = tst
     dbms = xlsx or excelcs replace ;
run ;

the result is no output file.

When i execute the following code :
proc export data = number
     outfile = "c:\data\best.xlsx"
     dbms = xlsx or excelcs replace ;
run ;

then everything works fine.

What i am doing wrong?

Question by:sonmic
1 Comment
LVL 14

Accepted Solution

Aloysius Low earned 500 total points
ID: 39779350
If not specified, the output file should be some where in the SAS program files directory, where u can find the SAS executable or the autoexec file.. by doing the second method u specify where the file should be output to..

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now