Date: Mon, 18 Jun 2007 12:49:57 -0000
Reply-To: Rifaz Razeek <rifazrazeek@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Rifaz Razeek <rifazrazeek@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: help using the X statement?
In-Reply-To: <1181932956.137179.5010@o61g2000hsh.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
On Jun 15, 7:42 pm, Eversmann <rifazraz...@gmail.com> wrote:
> many thanks for all who replied.
hi toby,
i tried the dcreate() function like below,
data _null_;
myFolder=dcreate("mynewfolder",'\\myserver\myparent\');
run;
and SAS throws the following error message
34 data _null_;
NOTE: SCL source line.
35 myFolder=dcreate("mynewfolder",'\\myserver\myparent\');
-------
68
ERROR 68-185: The function DCREATE is unknown, or cannot be accessed.
36 run;
i am using pc sas 8.2 - is this because i dont have the necessary
components installed or something of that sort?
i was ok with the x command (apart from the command from splashes),
but when i moved the develpment into the server
X cd &rootDir.; /*rootDir is \\myserver\myparent\'*/
wouldnt work (it is understandable as a direct CD to a server location
like this doesnt work in dos)
so, i gotta do it with the mapped drive (i.e. P:\myparent\)..
i dont like this as different users could have different drive
letters.. in which case i have to take their driver letter as a
parameter...
hope DCREATE would work... if you guys know why i am getting the error
mesage above?
many thanks