Date: Wed, 7 Dec 2005 04:50:04 -0800
Reply-To: RolandRB <rolandberry@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: RolandRB <rolandberry@HOTMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Changing default library for present SAS/code session
In-Reply-To: <1133959495.326742.306170@o13g2000cwo.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"
Hari wrote:
> Roland,
>
> Thanks for your post. I have included
>
> X 'mkdir %temp%\ABCproj';
>
> %LET TMPAREA=%sysget(temp);
> libname ABCproj "&TMPAREA.\abcproj";
>
> user = ABCproj;
options user=ABCproj;
> run;
>
> *---Importing raw data file---*;
>
> PROC IMPORT OUT= RawTotal
> DATAFILE= "\\hari\hari actproj\ABCProj\From Client\2005 11
> 17\Test Data.csv"
> DBMS=CSV REPLACE;
> GETNAMES=YES;
> DATAROW=2;
> RUN;
>
>
> But am getting an error as follows
>
> 4036 user = ABCproj;
> ----
> 180
>
> ERROR 180-322: Statement is not valid or it is used out of proper
> order.
>
> and the file named RawTotal has go created in work folder.
>
> Please let me know as to at whether am wrong in the place where I have
> included the "user = .." line.
>
> Regards,
> Hari
> India
>
>
> RolandRB wrote:
>
> > Try options USER=abcproj;
> >
> > and set back to USER=WORK later if need be.
|