[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 778
  • Last Modified:

Proc export does not work

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
sonmic
Asked:
sonmic
1 Solution
 
Aloysius LowCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now