- Nov 30, 2005
- 1,061
- 3
- 81
proc sql;
select 'ARM-90', count (*)
from sf_mlis.mlis_sf_arm_201212 a, sf_mlis.mlis_sf_wlm_201212 w
where a.loan_NBR = w.loan_NBR
and INITIAL_FIXED_RATE_PD <> round (((FIRST_INT_RESET_DTE - FIRST_PMT_DTE)/30.4),1.0);
quit;
This works fine in Oracle but converting to SAS, it shows error for missing value for the Round function. Basically, we want 90 days shown as 3, 70 days shown as 2, and anything less than 30 days shown as 1...etc.
select 'ARM-90', count (*)
from sf_mlis.mlis_sf_arm_201212 a, sf_mlis.mlis_sf_wlm_201212 w
where a.loan_NBR = w.loan_NBR
and INITIAL_FIXED_RATE_PD <> round (((FIRST_INT_RESET_DTE - FIRST_PMT_DTE)/30.4),1.0);
quit;
This works fine in Oracle but converting to SAS, it shows error for missing value for the Round function. Basically, we want 90 days shown as 3, 70 days shown as 2, and anything less than 30 days shown as 1...etc.