Image

SAS Table Value into variable

SAS Table Value into variable
5 years ago

SAS Table Value into variable

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;


Read More

SAS – Count Number of Words in a comma separated list
5 years ago

SAS – Count Number of Words in a comma separated list

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

Top