03-21-2017 12:24 PM
PROC FREQ prints the whole table (or alternatively, none of the table). But you can work around that if you find a slightly different report format satisfactory:
proc freq data=have;
tables age / noprint out=counts;
proc print data=counts (obs=1);
03-21-2017 02:52 PM
proc freq data=sashelp.class noprint; tables age / out=counts; run; proc sql; create table firstCount as select * from counts having age=min(age); select * from firstCount; quit;
Need further help from the community? Please ask a new question.