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 (August 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Aug 2008 09:20:40 -0700
Reply-To:     "bartelby1@googlemail.com" <bartelby1@GOOGLEMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "bartelby1@googlemail.com" <bartelby1@GOOGLEMAIL.COM>
Organization: http://groups.google.com
Subject:      scanning for keywords
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

I have 2 datasets: A - contains observations with large amounts of text. B - Contains a list of keywords.

I need to scan each text observation in set A for all of the keywords in set B. EG check 1st obs in A for any of the keywords from B, then check 2nd obs in A etc...

I can scan A for words I hard code using INDEX, but I can't get loops working to scan for all the keywords.

Thanks for any help.


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