Here’s some macro code to put a list of values from a SAS table into a bunch of variables:
%LET CURRENT_TABLE_DATE = ‘APR2009’;
%GLOBAL CURRENT_TABLE_DATE;
%MACRO RUN_DATES;
PROC SQL;
I’ve seen a lot of ugly ways to count the number of words in a comma separated list, most of them involve an overly complicated macro. There is an easier …
Read More