thomas-rasmussen / sas_macros

SAS macros
Creative Commons Zero v1.0 Universal
5 stars 4 forks source link

pt_char: strata parameter bug #40

Closed thomas-rasmussen closed 3 years ago

thomas-rasmussen commented 3 years ago

The macro uses proc sql, and if the strata parameter is called "case", which is common in matched populations, then this will result in undefined behavior. Consider is "case" is to be treated as a protected variable name in the macro or if the problem can be fixed otherwise.