1. Continue all functions from previous exercise.
2. Accumulate MONTHLY and ANNUAL total quotas by department.
Note:
Department number in column 40. The value is either a 1 or
2.
3. You must use tables in accumulating the totals, an example could be :
01 ACCUMULATORS.
03 XXX OCCURS 2 TIMES INDEXED BY INDX.
05 NO-OF-EMPLOYEES
PIC 9(3) VALUE 0.
05 MONTHLY-QUOTA-DEPT-TOTAL PIC
9(7)V99 VALUE 0.
05 ANNUAL-QUOTA-DEPT-TOTAL
PIC 9(7)V99 VALUE 0.
4. Calculate averages for both MONTHLY
and ANNUAL quotas by department.
Note : if you have a question E-Mail me the question and I'll
get back to you Click Here
.