From now on, please help us out by posting the log for the PROC SQL (or whatever step has the error), including the code as it appears in the log. Do not show us error messages detached from the code as it appears in the log.
a.loan_number2 = b.loan_nb
One of these two variables is numeric, and the other is character. So you will have to convert one of these two variables to the other data type.
So let's suppose b.loan_nb is a character variable. The code to convert b.loan_nb to numeric would be
a.loan_number2 = input(b.loan_nb,32.)
and that should work. Or if a.loan_number2 is character, then a similar change will make that work.
--
Paige Miller