Here is the code proc sql; create table work.test as select a.Client_id, a.Client_name, a.Score, a.Status, b.Client_id, b.Client_name, b.Score, b.Status, (a.score-b.score) as Score_diff, case when a.status=b.status then 'match' else 'no match' end as Status_test from Client_Report2 a left join Client_Report1 b on a.Client_id=b.Client_id; quit; The Status data type is mixed : numeric value, string, Status field has : 50 >60 more than a year 8% 3y when i run the code in bold i get this error: ERROR: Expression using equals (=) has components that are of different data types. Any help, please?
... View more