Search
Search

# Creating a start routine

Hi

I need to create a start routine for the following. Please can someone assist.

1. Contracts ex ABC & XYZ with a start date pre 01/10/1998 whose days in arrears is < 122 days & the ratio of DI closing balance over collateral <= 80% will get a risk weighting of 50%, otherwise 100%.

2. Contracts ex ABC & XYZ with a start date on or post 01/10/1998 whose days in arrears is < 122 days & the ratio of DI closing balance over collateral <= 100% will get a risk weighting of 50%, otherwise 100%.

3. Other EFG residenial deals on or post start date 01/10/1998 whose days in arrears is < 122 days & the ratio of DI closing balance over collateral <= 100% will get a risk weighting of 50% otherwise 100%.

Thanks in advance. Will reward good points for resolution.

Niki

##### Former Memberreplied

Niki,

we can include the condition also in start routine.

Contract StartDate Days Ratio DI risk weighting

X1 <01/10/1998 122 <=80% 50

X2 >=01/10/1998 122 <=80% 50

X3 >=01/10/1998 122 <=100% 50

E4(efg) <=01/10/1998 122 <=100% 50

put if <b>x1 and start date <19981001 and days<122 and Ratio <= 80%</b>.

Risk = 50%.

elseif x2.

risk = 50.

elseif x3.

Risk = 50.

else if E4.

risk = 50.

else.

risk = 100.

endif.

I think this will include all the cases. check it out, try to put all the possibilities. As you said... DI ratio is 90%, all the if stattements will be failed. last else statement will be processed. that is 100. try consider all the cases.

Regards,

Nagesh Ganisetti.

0 View this answer in context
View more on this topic or