Date: Sun, 5 Apr 2009 08:21:28 -0300
Reply-To: priyanka singh <priyanka.priyankasingh@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: priyanka singh <priyanka.priyankasingh@GMAIL.COM>
Subject: Re: proc iml
In-Reply-To: <ce1fb7450904050420u3c80ac0bj4f3d7446b391cfdb@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Thanks
On Sun, Apr 5, 2009 at 8:20 AM, ./ ADD NAME=Data _null_; <iebupdte@gmail.com
> wrote:
> If you look at the online help for PROC IML you will see that RUN has
> a different meaning and syntax in this procedure.
>
> RUN Statement
> executes statements in a module
> RUN <name> <(arguments)>;
>
> I you remove RUN and you should get the desire result. If you want to
> end the procedure use QUIT.
>
>
> On 4/5/09, Priyanka Singh <priyanka.priyankasingh@gmail.com> wrote:
> > hi all,
> >
> > Why is the following not working:
> >
> >
> > proc iml;
> > use trial;
> > read all var _all_ into x;
> > n= nrow(x);
> > m=ncol(x);
> > run;
> >
> > The error that is given is:
> >
> > 116 proc iml;
> > NOTE: IML Ready
> > 117 use trial;
> > 118 read all into x;
> > NOTE: I/O required temporary file to be opened.
> > 119 n= nrow(x);
> > 120 m=ncol(x);
> > 121 run;
> > NOTE: Module MAIN is undefined in IML; cannot be RUN.
> >
> >
> > Thanks & Regards,
> > Priyanka
> >
>
|