Date: Thu, 22 Sep 2005 03:53:51 -0400
Reply-To: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject: Re: Using an "&" as "AND", not to identify a macro
On Wed, 21 Sep 2005 21:05:09 -0400, Jerry Cotton <sas_analyst@YAHOO.COM> wrote:
>I am trying to use PROC IMPORT to import a file that is located on a
>server that uses a "&" in the path of the server location. For example,
>\\A10\R&E\ shows that "A10" is the name of the server and "R&E" is a
>folder on the server. How can I make SAS recognize the "&" as part of the
>path directory and not an association a macro? SAS tries to execute "&E"
>as a macro reference. Any help is greatly appreciated. Thanks in advance.
I assume, u use the path in the DATAFILE= option. Simply enclose the path
and file in ' instead of "