Hello All
I am trying to generate a dataset for the output of the PROC FREQ. I am trying to use the output option but it is erroring out saying it needs a statistic where I need only the freq.
Here is the code:
proc freq data = sshh.sshh_data4;
tables rspnsby_cntr_id;
output out = sshh.sshh_data10;
run;
The message in the log is:
WARNING: No OUTPUT data set is produced because no statistics are requested in the corresponding
TABLES statement.
So I have 2 questions:
1. How do I generate the dataset?
2. If the above is the only way what do I have to specify as the statistic to get the freq counts?
Thanks
Pappu.