BookmarkSubscribeRSS Feed
JW_Hyde
Obsidian | Level 7

I need to create a filter which checks a value for up to 400 different values then outputs to another dataset.

 

What are people doing to accomplish a task similar to this one?

5 REPLIES 5
PeterClemmensen
Tourmaline | Level 20

Where are these 400 values stored? In a separate data set?

JW_Hyde
Obsidian | Level 7
Yes-they are in a separate dataset.
PeterClemmensen
Tourmaline | Level 20

And what do you want to do is the value matches one of the 400 values in the separate data set? And if it does not?

 

Please be more specific. Preferably, provide example data for us to work with.

JW_Hyde
Obsidian | Level 7

the result of the successful catch with the filter would output that observation to another dataset.

 

 

VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

this sounds like you may want a lookup table that you reference in your selection.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 5 replies
  • 969 views
  • 1 like
  • 3 in conversation