So, what I understand is that you already have samples and you want the new sample to exclude cases already selected. Try this (not tested) : /* Create a set of existing samples */ data sampSet / view=sampSet; set xxx.sample:; keep initials; run; /* Create a subset of x201202 excluding existing samples */ proc sql; create view newSet as select * from xxx.X201202 where initials not in (select initials from sampSet); quit; /* Create a new sample from X201202, excluding previous samples */ call surveyselect data=newSet method=srs n=200 seed=200 out=test005; run; PG
... View more