| Date: | Mon, 18 Jun 2007 14:43:10 -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: | <5C105629EFD02E42B2C3E3113755F12104038535@RDGEXM01.am.boehringer.com> |
| Content-Type: | text/plain; charset="us-ascii" |
|---|
On Jun 18, 2:30 pm, t...@RDG.BOEHRINGER-INGELHEIM.COM (My Bad) wrote:
> Its used in the OMABACKUP macro.
>
> destdir=dcreate("&repositoryName","&DestinationPath\");
>
> Thought is was available in V8.2
>
> -----Original Message-----
> From: SAS(r) Discussion [mailto:S...@LISTSERV.UGA.EDU] On Behalf Of toby
>
> dunn
> Sent: Monday, June 18, 2007 9:00 AM
> To: S...@LISTSERV.UGA.EDU
> Subject: Re: help using the X statement?
>
> I checked the TS486 doc and Dcreate is a V9 function.
>
> Toby Dunn
>
> If anything simply cannot go wrong, it will anyway. Murphys Law #2.
>
> The buddy system is essential to your survival; it gives the enemy somebody
> else to shoot at.
> Murphys Law #
>
> Tell a man there are 300 billion stars in the universe and he'll believe
> you. Tell him a bench has wet paint on it and he'll have to touch to be
> sure. Murphys Law #9
>
> From: Rifaz Razeek <rifazraz...@GMAIL.COM>
> Reply-To: Rifaz Razeek <rifazraz...@GMAIL.COM>
> To: S...@LISTSERV.UGA.EDU
> Subject: Re: help using the X statement?
> Date: Mon, 18 Jun 2007 12:49:57 -0000
>
> 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
>
> _________________________________________________________________
> Need a break? Find your escape route with Live Search Maps.http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20P...
> 3.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&en
> cType=1&FORM=MGAC01
just to confirm... it didnt work for me in 8.2. and my collegue was
able to do it in his machine with 9.1.3... toby's right :-)
|