Him
I am receiving a log message "Character values have been converted to numeric values at the places given by" in my " do over _value; " statement. This caused bc the dataset is empty. How do I fix this log message? thanks
data pfinal1;
merge tmerge_xl tmerge_xl3 ;
by ord1 aebodsys ;
if ord1 in (1 2) then do;
array _value ctrtg1 ctrtg2 ctrtg3 ctrtg4 call ;
do over _value;
if _value = "" then _value="0 (0.0%)";
end;
end;
run;
Set the variable LENGTH (and type) in the ARRAY statement.
array _value $20 ctrtg1-ctrtg4 call ;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.