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 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Dec 1997 16:02:17 -0500
Reply-To:     "Kowalczyk, Andrew" <Andrew.W.Kowalczyk@STATE.MA.US>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Kowalczyk, Andrew" <Andrew.W.Kowalczyk@STATE.MA.US>
Subject:      set of wild card matches
Content-Type: text/plain

I need to categorize character data based upon a set of 50-200 different values that may be wild-card in nature.

The LIKE comparison would be perfect if it were only a single value, but how can I do this for a hundred. Some blend of the IN and LIKE is what I am looking for.

I have contemplated using a macro to generate multiple IF a LIKE b statements, but was wondering if anyone had any tricks up their sleeves.


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