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
sonmicAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Aloysius LowConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.