|
Hi DS,
That is how it works in SAS: the output dataset contains only the results of
the last (or first? One anyway) variable in the list _CHARACTER_. To get
them all you might issue multiple TABLES statements for each char variable
and its output dataset name. If that would be too cumbersome you might use
some macro code that writes the SAS code for you based on the output from
PROC CONTENTS.
But I agree that it would be nice if SAS would support your expectation.
Regards - Jim.
--
Jim Groeneveld, Netherlands
Statistician, SAS consultant
http://jim.groeneveld.eu.tf
On Tue, 2 Feb 2010 11:02:43 -0800, df ss <tggsun@YAHOO.COM> wrote:
>Hello SASor,
>I wrote the following code:
>proc freq data=abc noprint;
>table _character_ / out=list4abc;
>run;
>I hope to get the whole character variables frequency in the data set
list4abc, but I got the last character frequency list only. Is there a way
to get whole character variables frequency in one data set by using a single
proc freq ?
>Thanks,
>dd sf
|