Midrange Systems Design - IBM iSeries i5

Support Sales Home

 

Loan Payment Calculation

Download Program Source

This is a program that calculates the loan payment amount, using the power of the RPG EVAL statement. It also includes a CLLE program and a DSPF. If you call LOAN01C the following screen will be displayed:

Loan Payment Calculations

Loan Amount........ 40,000.00

Interest Rate...... 6.5000 Use negative # for inflation rate

Number of payments. 120


Payment Amount..... 454.17

Total Payments..... 54,500.40


F3=Exit

Type in the loan amount, interest rate, number of payments and press Enter. The payment amount and total payments will be calculated and displayed.