?
Solved

Proc export does not work

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

the result is no output file.

When i execute the following code :
............................
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?

Tx
0
Comment
Question by:sonmic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
Aloysius Low earned 1500 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..
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

743 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