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
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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SAS programming 1 327
IF/THEN in PROC SQL statement of SAS 7 2,635
SAS Email Chart as attachment code 2 307
Separating data in a comma delimited column into individual rows in SAS 1 55
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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