|Date: ||Thu, 6 May 1999 15:55:46 -0700|
|Reply-To: ||Robert Virgile <virgile@MEDIAONE.NET>|
|Sender: ||"SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>|
|From: ||Robert Virgile <virgile@MEDIAONE.NET>|
|Subject: ||Re: MACRO VARIABLE QUOTING|
|Content-Type: ||text/plain; charset=us-ascii|
I'm not in a position to test this at the moment, but it seems off the top of my
head that this would work:
CD = %unquote(%str(" '&dir' "))
Phil Schaeffer wrote:
> I would like to use %let to assign a text string within a filename FTP
> statement. However, the
> text string (i.e, the resolved macro variable value) must be contained within
> set of single quotes and a set of double quotes. I want < %LET DIR=CZDF;
> > to produce
> filename CHECK ftp " "
> CD=" 'CZDF' "
> As I am also using macro variable &DIR in other code, I do not want to include
> quotes as part of the %let statement by means of %str.
> Phil Schaeffer, FAA Headquarters