Thanks so much! That's resolves my issue. Another solution, which just occurred to me is just use a where= statement that let's you choose what you want to collate. data WANT_1 (where=(xxx=1)); merge v_1 (in=v1) v_2; /* by DSCD year; */ by reprisk_id; if v1; run;
... View more