Date: Sat, 15 Nov 2003 05:53:31 -0800
Reply-To: Aaron <aaronreid@EUROPE.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Aaron <aaronreid@EUROPE.COM>
Organization: http://groups.google.com
Subject: How to pass the filename to PUT statement in DDE?
Content-Type: text/plain; charset=ISO-8859-1
Hello,
Can somebody help me in getting the following code to work?
&fname does not get resolved, and PUT is not working with double quotation marks.
Thanks in advance!
filename TRY1 dde 'excel|system';
%let fname=A_FILE.xls;
data _null_;
file TRY1;
put '[open("C:\sas\&fname.")]';
run;
|