01-18-2018 03:39 PM
I don't think macros have anything to do with it. You can simply use:
proc freq data=have;
And actually the tables statement is optional in this case.
01-18-2018 12:15 PM
Some other options that may be helpful:
In SAS EG try the Tasks>Describe>Characterize Data
In SAS Studio try Tasks>Data>Data Exploration> select your categorical/continuous variables.
Both will also have the code in the log that you can explore if desired.
I am in need of a SAS/MACRO that freqs every column within a sas dataset.