10-20-2014 04:28 PM
If the condition is simple such as a specific value the easiest may be a WHERE clause dataset option
merge a (where=(age > 25))
b (where=(LastName ne 'Smith'))
If multiple conditions using functions are needed you'll likely need to subset the data separately.