proc sql;
select count(STUDYID) into:N1-:N2 from adam.adsl where TRTSEQPN in (1,3) & RANDDT ne . group by TRTSEQPN;
select count(STUDYID) into:N3-:N4 from adam.adsl where TRT01PN in (2,3) & RANDDT ne . group by TRT01PN;
select count(STUDYID) into:N5 from adam.adsl where TRTSEQPN in (1,3) & RANDDT ne .;
quit;
note提示:WARNING: 没有活动的输出目标。