Date: Mon, 28 Nov 2005 22:29:00 -0800
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: why can I not run this code?NOTE: Module MAIN is undefined in
In-Reply-To: <200511280615.jAS5DOfh002818@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed
lixiaoyao5880@YAHOO.COM wrote:
> hey david
> Thank you for your advice,I know you are right,but is there a LML
>replacement because I want to run the code that the author gave me.
>Also can you kndly tell me how to check if the SAS/IML have installed
>in my machine?
[1] I don't understand why you want to run that code. It's just simple
linear
regression. You'd be better off running PROC REG. And you'd be able to
check
your model assumptions, which is CRUCIAL, and is easy in PROC REG.
[2] Check for SAS/IML licensing using the following *UNTESTED* code:
data _null_;
x = sysprod('iml');
if x = 1 then put 'SAS/IML is licensed.';
else if x = 0 then put 'SAS/IML is not licensed.';
else if x = -1 then put 'Oops, I misspelled the prodcut name and I need
to try again!';
run;
HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/