Date: Wed, 7 May 1997 16:25:37 EDT
Reply-To: rhoadsm1@WESTATPO.WESTAT.COM
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Mike Rhoads <rhoadsm1@WESTATPO.WESTAT.COM>
Subject: Re: no subject (file transmission)
<<C.J. Davis asks>>
I would like to perform proc FREQ on all but a few
variables of a SAS dataset...unfortunately, FREQ
does analysis on all vars including the ones I don't
want analyzed, which are taking up the greater part of
the computation time. how do I exclude these few without
having to create another dataset andlist the 100's of vars
i *do * want analyzed???
<<end question>>
Take advantage of the DROP= data set option when running PROC FREQ to exclude
the variables you don't want, as is illustrated by the code below:
data temp;
a = 1; b = 2; c = 3;
run;
/* We don't want to waste time on a and c */
proc freq data=temp (drop = a c);
run;
Mike Rhoads
Westat
RhoadsM1@Westat.com