LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page