I had a user asking if I knew of a macro that creates a frequency table for every variable in a given data set. My initial answer was, NO. But SAS Enterprise Guide has that feature within the Characterize Data Wizard!
So, I cheated and wrapped the code generated by EG into this attached macro, so you can run it on your SAS server in batch 😊
Usage Example:
%_EG_CHARACT_WRAPPER_ (p_inDsName=<LIB.>DataSet, p_inCatMaxLimit=30); /* p_inCatMaxLimit: Maximum count for unique category value */
Enjoy,
Ahmed