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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -