Hey,
This topic's for an implementer, so there must be no SAS code involved:
As seen in the following picture, I have two select blocks. One containing populations X1 and X2, and another containing a sub group of X1.
Eventually, I need to hold X2 and the sub group of X1 in the same block.
I have no way to distinguish between X1 and X2 (they are just a list of ID's).
Is there a way to remove the population of sub X1?
Generally, in SQL I'd write:
select ID from X1
union
select ID from X2
minus
select ID from subX1