UtilityMacros.sas
defines the following useful short macros utilized in most IEs and processes. You should
%include
UtilityMacros.sas
at the beginning of any new process that you write, since it sets up several important macros and automatically runs the
UtilInit
macro.
This macro checks numeric variables to determine whether or not they are binary. Returns a value of
0
if all values are missing,
1
if there is a single value,
2
if there are two values, and
3
if there are three or more values.
This macro checks numeric variable to determine whether or not they are binary. Returns a value of
0
if all values are missing,
1
if there is a single value,
2
if there are two values, and
3
if there are three or more values.