Hello,
I would check the value it seems as if there is something about it
that does not agree with the equation you are using.
Amy
--- In Statisticians_group@..., Bhattacharya Archan
<archanb@...> wrote:
>
> Hello,
> I am running the following SAS code which is producing the log
attached below. Now I know the error. What I need to know in the log
when it refers to (Line):(Column). 1 at 1:31, what it refers to.
Which line number and column number? How can I make it use the actual
program line number and column number?
> I'll appreciate any help on this.
> Archan
> -------------------------------
> data
> x=xxx;'uuuuuu';run;%macromyfun(num); %do
> data yyy;
> set xxx;
> z=input(x,
> run;i = 1%to#best.);%end;%mend
> %myfun(
> And the error in the log is:1 data xxx;
> 2 x='uuuuuu';
> 3 run;
> NOTE: The data set WORK.XXX has 1 observations and 1 variables.
> NOTE: DATA statement used (Total process time):
> real time 0.03 seconds
> cpu time 0.03 seconds
>
> 4
> 5 %macro myfun(num);
> 6 %do i = 1 %to #
> 7 data yyy;
> 8 set xxx;
> 9 z=input(x,best.);
> 10 run;
> 11 %end;
> 12 %mend;
> 13 %myfun(1)
> NOTE: Invalid argument to function INPUT at line 1 column 31.
> x=uuuuuu z=. _ERROR_=1 _N_=1
> NOTE: Mathematical operations could not be performed at the
following places. The results of
> the operations have been set to missing values.
> Each place is given by: (Number of times) at (Line):(Column).
> 1 at 1:31
> NOTE: There were 1 observations read from the data set WORK.XXX.
> NOTE: The data set WORK.YYY has 1 observations and 2 variables.
> NOTE: DATA statement used (Total process time):
> real time 0.01 seconds
> cpu time 0.01 seconds;1)
>