Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
56 | 2 | 3 | 0.989 | paragraph_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 56 | 5192 | CCCC14.COB |
2 | 56 | 5520 | CCCC2.COB |
| ||||
* * 8810-PRINT-DIST-ELEMENT-TOTALS. MOVE EDIT-ERROR-LITERAL-AREA IN EDIT-ERROR-LITERAL-ENTRY (EDIT-ERROR-LITERAL-INDEX) TO ELEMENT-LITERAL-AREA. SET DISTRICT-ELEMENT-COLUMN-INDEX TO 1. SET ELEMENT-COLUMN-INDEX TO 1. MOVE ZERO TO PRINT-LINE-FLAG. PERFORM 8811-FILL-DIST-PRINT-LINE UNTIL PRINT-LINE-FILLED. WRITE PRINT-RECORD-2 FROM ELEMENT-TOTAL-DETAIL-LINE AFTER ADVANCING 1 LINE. MOVE SPACES TO ELEMENT-TOTAL-DETAIL-LINE. SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-ROW-INDEX. SEARCH DISTRICT-ELEMENT-TOTALS-ROWS AT END MOVE 1 TO TABLE-SEARCH-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-ROW-INDEX NEXT SENTENCE. SET EDIT-ERROR-LITERAL-INDEX TO DISTRICT-ELEMENT-ROW-INDEX. * * 8811-FILL-DIST-PRINT-LINE. SET ELEMENT-TABLE-ROW-ID TO DISTRICT-ELEMENT-ROW-INDEX. SET ELEMENT-TABLE-COLUMN-ID TO DISTRICT-ELEMENT-COLUMN-INDEX. IF (ELEMENT-ROWS-1-10-12 AND ELEMENT-COLUMN-2) OR (ELEMENT-ROWS-1-12 AND ELEMENT-COLUMN-3) OR (ELEMENT-ROWS-1-12 AND ELEMENT-COLUMN-4) MOVE NOT-APPLICABLE-LITERAL TO ELEMENT-N-A IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX) ELSE MOVE DISTRICT-ELEMENT-TOTAL IN DISTRICT-ELEMNT-TOTALS-COLUMNS (DISTRICT-ELEMENT-ROW-INDEX DISTRICT-ELEMENT-COLUMN-INDEX) TO ELEMENT-TOTAL IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX). SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-COLUMN-INDEX. SEARCH DISTRICT-ELEMNT-TOTALS-COLUMNS AT END MOVE 1 TO PRINT-LINE-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-COLUMN-INDEX NEXT SENTENCE. SET ELEMENT-COLUMN-INDEX TO DISTRICT-ELEMENT-COLUMN-INDEX. |
| ||||
* * 8810-PRINT-DIST-ELEMENT-TOTALS. MOVE EDIT-ERROR-LITERAL-AREA IN EDIT-ERROR-LITERAL-ENTRY (EDIT-ERROR-LITERAL-INDEX) TO ELEMENT-LITERAL-AREA. SET DISTRICT-ELEMENT-COLUMN-INDEX TO 1. SET ELEMENT-COLUMN-INDEX TO 1. MOVE ZERO TO PRINT-LINE-FLAG. PERFORM 8811-FILL-DIST-PRINT-LINE UNTIL PRINT-LINE-FILLED. WRITE PRINT-RECORD-2 FROM ELEMENT-TOTAL-DETAIL-LINE AFTER ADVANCING 1 LINE. MOVE SPACES TO ELEMENT-TOTAL-DETAIL-LINE. SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-ROW-INDEX. SEARCH DISTRICT-ELEMENT-TOTALS-ROWS AT END MOVE 1 TO TABLE-SEARCH-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-ROW-INDEX NEXT SENTENCE. SET EDIT-ERROR-LITERAL-INDEX TO DISTRICT-ELEMENT-ROW-INDEX. * * 8811-FILL-DIST-PRINT-LINE. SET ELEMENT-TABLE-ROW-ID TO DISTRICT-ELEMENT-ROW-INDEX. SET ELEMENT-TABLE-COLUMN-ID TO DISTRICT-ELEMENT-COLUMN-INDEX. IF (ELEMENT-ROWS-1-11 AND ELEMENT-COLUMN-2) OR (ELEMENT-ROWS-1-9 AND ELEMENT-COLUMN-3) OR (ELEMENT-ROWS-1-11 AND ELEMENT-COLUMN-4) MOVE NOT-APPLICABLE-LITERAL TO ELEMENT-N-A IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX) ELSE MOVE DISTRICT-ELEMENT-TOTAL IN DISTRICT-ELEMNT-TOTALS-COLUMNS (DISTRICT-ELEMENT-ROW-INDEX DISTRICT-ELEMENT-COLUMN-INDEX) TO ELEMENT-TOTAL IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX). SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-COLUMN-INDEX. SEARCH DISTRICT-ELEMNT-TOTALS-COLUMNS AT END MOVE 1 TO PRINT-LINE-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-COLUMN-INDEX NEXT SENTENCE. SET ELEMENT-COLUMN-INDEX TO DISTRICT-ELEMENT-COLUMN-INDEX. |
| |||
* * 8810-PRINT-DIST-ELEMENT-TOTALS. MOVE EDIT-ERROR-LITERAL-AREA IN EDIT-ERROR-LITERAL-ENTRY (EDIT-ERROR-LITERAL-INDEX) TO ELEMENT-LITERAL-AREA. SET DISTRICT-ELEMENT-COLUMN-INDEX TO 1. SET ELEMENT-COLUMN-INDEX TO 1. MOVE ZERO TO PRINT-LINE-FLAG. PERFORM 8811-FILL-DIST-PRINT-LINE UNTIL PRINT-LINE-FILLED. WRITE PRINT-RECORD-2 FROM ELEMENT-TOTAL-DETAIL-LINE AFTER ADVANCING 1 LINE. MOVE SPACES TO ELEMENT-TOTAL-DETAIL-LINE. SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-ROW-INDEX. SEARCH DISTRICT-ELEMENT-TOTALS-ROWS AT END MOVE 1 TO TABLE-SEARCH-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-ROW-INDEX NEXT SENTENCE. SET EDIT-ERROR-LITERAL-INDEX TO DISTRICT-ELEMENT-ROW-INDEX. * * 8811-FILL-DIST-PRINT-LINE. SET ELEMENT-TABLE-ROW-ID TO DISTRICT-ELEMENT-ROW-INDEX. SET ELEMENT-TABLE-COLUMN-ID TO DISTRICT-ELEMENT-COLUMN-INDEX. IF ( [[#24b279e0]] AND ELEMENT-COLUMN-2) OR ( [[#24b27a40]] AND ELEMENT-COLUMN-3) OR ( [[#24b27920]] AND ELEMENT-COLUMN-4) MOVE NOT-APPLICABLE-LITERAL TO ELEMENT-N-A IN ELEMENT-COLUMNS ( ELEMENT-COLUMN-INDEX ) ELSE MOVE DISTRICT-ELEMENT-TOTAL IN DISTRICT-ELEMNT-TOTALS-COLUMNS ( DISTRICT-ELEMENT-ROW-INDEX DISTRICT-ELEMENT-COLUMN-INDEX ) TO ELEMENT-TOTAL IN ELEMENT-COLUMNS ( ELEMENT-COLUMN-INDEX ). SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-COLUMN-INDEX. SEARCH DISTRICT-ELEMNT-TOTALS-COLUMNS AT END MOVE 1 TO PRINT-LINE-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-COLUMN-INDEX NEXT SENTENCE. SET ELEMENT-COLUMN-INDEX TO DISTRICT-ELEMENT-COLUMN-INDEX. |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24b279e0]] | ELEMENT-ROWS-1-10-12 |
1 | 2 | [[#24b279e0]] | ELEMENT-ROWS-1-11 |
2 | 1 | [[#24b27a40]] | ELEMENT-ROWS-1-12 |
2 | 2 | [[#24b27a40]] | ELEMENT-ROWS-1-9 |
3 | 1 | [[#24b27920]] | ELEMENT-ROWS-1-12 |
3 | 2 | [[#24b27920]] | ELEMENT-ROWS-1-11 |