LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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;


Back to: Top of message | Previous page | Main SAS-L page