Variable Name in SAS -
i have variable name called a_flag (1=y,0=n)
. however, when try rename variable, sas says can't find variable.
is variable name a_flag (1=y,0=n)
or a_flag
?
if variablename "a_flag (1=y,0=n)", need refer "a_flag (1=y,0=n)"n. e.g:
proc freq; tables "a_flag (1=y,0=n)"n; run;
you need validvarname=any option set in order work.
Comments
Post a Comment