Hello, I am a fairly new SAS user and I am facing an issue with my code and/or the dataset I am working with. When running a proc contents I have 5 variables that have a Type of Numeric, but the values taken on by these 5 variables are either Present, Absent, or . (missing). When I run the below code I get a clean log with no errors or warning messages; although all 8 variables output I only get one observation with all missing values ( . ) data redcap3; array LN(*) acr_ii acr_iii acr_iv acr_v; array Class(*) $ class_ii class_iii class_iv class_v; do i = 1 to dim(LN); class(i) = put(LN(i), $8.); end; drop i; proc print; run; Does anyone know how to work with such variables? What steps do I need to take to change the variable type to character / or even code them as binary variables? Any help is greatly appreciated!
... View more