Date: Fri, 4 Sep 2009 15:47:06 +0200
Reply-To: Daniel Fernández <fdezdan@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Daniel Fernández <fdezdan@GMAIL.COM>
Subject: Re: whats wrong?
In-Reply-To: <rbjd95lkbasv8q0nflb8935qbqq0j6qbdm@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1
I guess Mark meant:
data _temp;
set _temp;
array x{*} _NUMERIC_ ;
do i = 1 to dim(x) ;
if x(i) eq . then tell_me_which= vname(x(i)) ;
put tell_me_which;
end ;
run;
Dani Fernández.
Terrassa Hospital, Barcelona.
2009/8/27 Barry Schwarz <schwarzb@dqel.com>:
> Do you want to tell us what the error is or should we guess?
>
> On Wed, 26 Aug 2009 18:47:39 -0700 (PDT), Michael
> <michaelnx@gmail.com> wrote:
>
>>Hi
>>
>>I have error in the following code. Pls help.
>>
>>data _temp;
>> set _temp;
>> array x{*} _NUMERIC_ ;
>> do i = 1 to dim(x) ;
>> if x(i) eq . then put vname(x(i)) ;
>> end ;
>>run;
>>
>>Thanks.
>>Mike
>
> --
> Remove del for email
>
|