Old macro ps from RAND corporation is trying to get SAS to play ping-pong with R. The macro is from a family called Twang, named after R package that gets propensity scores, hence the name ps. However, the variable names are illegal for SAS, for example, table.name is not a good variable name. I cannot even rename it, SAS complains. Workaround? I would like this code to work:
proc sql noprint; select distinct table.name into :elements separated by " " from _baltab order by table.name desc; quit;
Many thanks!
... View more