BookmarkSubscribeRSS Feed
tulip
Calcite | Level 5
Hi, pros:

Here is the statement as follows:

where find(concept, 'Condition1','i')>0 or find(concept, 'Condition2','i')>0

however, I would like to like conditions to be listed in the following way conceptually so that it is easier to manage plus achieving the find function.

where id in ('A', 'B', 'C');

Your help is appreciated so much. Tulip.
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
To use the simple syntax of the IN operator means that you have to pre-process your data to pull the conditions of interest out of the concept variable. It is really a case of 'pay me now or pay me later', at some point you have to parse the variable concept.

TANSTAAFL

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1039 views
  • 0 likes
  • 2 in conversation