Date: Wed, 21 Sep 2005 19:17:15 -0000
Reply-To: sa polo <solouga4@rediffmail.com>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sa polo <solouga4@REDIFFMAIL.COM>
Subject: Re: creating a directory on a windows PC using SAS with special
characters
Content-Type: text/plain; charset=iso-8859-1
Thanks venky,
It works, but now i need to resolve a macro variable while
creating the directory this is something i do not know how to do.
%LET ReportMonth=January;
X 'MKDIR "800-&-100-(redhat).&ReportMonth"';
Appreciate any inputs as usual.
Sa polo
On Wed, 21 Sep 2005 Venky Chakravarthy wrote :
>I was able to successfully create this with:
>
>X 'MKDIR "800-&-100-(redhat)"';
>
>Venky Chakravarthy
>
>On Wed, 21 Sep 2005 15:43:52 -0000, sa polo <solouga4@REDIFFMAIL.COM> wrote:
>
> >Hi All,
>I need to create a directory on a windows PC using SAS. I
>have tried to use the "X" command but unfortunately i have
>special characters like & and () that are part of the
>directory name.
>e.g:
>
>X "MKDIR 800-&-100-(redhat)";
>Is there a way to mask these characters in SAS and present
>them in a manner that the DOS operating system will interpret correctly.
>
>Appreciate any inputs as usual.
>
>Sa polo
|