| Date: | Fri, 10 Dec 2010 20:30:55 -0800 |
| Reply-To: | art297 <atabachneck@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | art297 <atabachneck@GMAIL.COM> |
| Subject: | Re: %index question |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Roger,
Try it without the quotes. i.e.:
%if %index(import.data,.) = 7 %then %do;
HTH,
Art
------------
On Dec 10, 1:06 pm, Roger <rangoonraja...@gmail.com> wrote:
> Hi All,
>
> i am trying to use the following code
>
> %if %index(import.data,".") = 7 %then %do
>
> .. other SAS statements.
>
> %end;
>
> my understanding is the above code should be TRUE but the log shows as
> FALSE.
>
> why is that?
>
> Thanks,
> Rang
|