CloneSet155


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23201.000paragraph
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1235606
CCCC1.COB
2234234
CCCC8.COB
Clone Instance
1
Line Count
23
Source Line
5606
Source File
CCCC1.COB

      *    MOVE SPACES TO PRINT-RECORD-2.
      *    MOVE DIST-INTEGRITY-ERR-17-TOTAL TO INTEGRITY-TOTAL.
      *    MOVE INTEGRITY-ERR-17-DESC TO INTEGRITY-DESCRIPTION.
      *    WRITE PRINT-RECORD-2
      *            FROM INTEGRITY-TOTAL-DETAIL-LINE
      *            AFTER ADVANCING 2 LINES.
      *
      *
       8830-PRINT-DISTRICT-SUM-TOTALS.
           MOVE TOTAL-DESCRIPTION
                   IN TOTAL-DESCRIPTION-ENTRY
                   (TOTAL-DESCRIPTION-INDEX) TO
                      TOTAL-DESCRIPTION
                   IN TOTAL-DETAIL-LINE.
           MOVE DISTRICT-TOTAL
                   IN TOTAL-DISTRICT-ENTRY
                   (TOTAL-DISTRICT-INDEX) TO
                      TOTAL-FIELD
                   IN TOTAL-DETAIL-LINE.
           WRITE PRINT-RECORD-2
             FROM       TOTAL-DETAIL-LINE
                   AFTER ADVANCING 1 LINE.
           SET ORIGINAL-INDEX-VALUE
             TO       TOTAL-DISTRICT-INDEX.
           SEARCH TOTAL-DISTRICT-ENTRY
           AT END
               MOVE 1 TO TABLE-SEARCH-FLAG
           WHEN ORIGINAL-INDEX-VALUE
                    IS NOT EQUAL TO TOTAL-DISTRICT-INDEX
           SET TOTAL-DESCRIPTION-INDEX
             TO       TOTAL-DISTRICT-INDEX.


Clone Instance
2
Line Count
23
Source Line
4234
Source File
CCCC8.COB

      *
      *
       8830-PRINT-DISTRICT-SUM-TOTALS.
           MOVE TOTAL-DESCRIPTION
                   IN TOTAL-DESCRIPTION-ENTRY
                   (TOTAL-DESCRIPTION-INDEX) TO
                      TOTAL-DESCRIPTION
                   IN TOTAL-DETAIL-LINE.
           MOVE DISTRICT-TOTAL
                   IN TOTAL-DISTRICT-ENTRY
                   (TOTAL-DISTRICT-INDEX) TO
                      TOTAL-FIELD
                   IN TOTAL-DETAIL-LINE.
           WRITE PRINT-RECORD-2
             FROM       TOTAL-DETAIL-LINE
                   AFTER ADVANCING 1 LINE.
           SET ORIGINAL-INDEX-VALUE
             TO       TOTAL-DISTRICT-INDEX.
           SEARCH TOTAL-DISTRICT-ENTRY
           AT END
               MOVE 1 TO TABLE-SEARCH-FLAG
           WHEN ORIGINAL-INDEX-VALUE
                    IS NOT EQUAL TO TOTAL-DISTRICT-INDEX
           SET TOTAL-DESCRIPTION-INDEX
             TO       TOTAL-DISTRICT-INDEX.


Clone AbstractionParameter Count: 0Parameter Bindings

      *    MOVE SPACES TO PRINT-RECORD-2.
      *    MOVE DIST-INTEGRITY-ERR-17-TOTAL TO INTEGRITY-TOTAL.
      *    MOVE INTEGRITY-ERR-17-DESC TO INTEGRITY-DESCRIPTION.
      *    WRITE PRINT-RECORD-2
      *            FROM INTEGRITY-TOTAL-DETAIL-LINE
      *            AFTER ADVANCING 2 LINES.
      *
      *
       8830-PRINT-DISTRICT-SUM-TOTALS.
           MOVE TOTAL-DESCRIPTION
                  IN TOTAL-DESCRIPTION-ENTRY (TOTAL-DESCRIPTION-INDEX)TO
                                                       TOTAL-DESCRIPTION
                                                         IN
                                                       TOTAL-DETAIL-LINE
           .
           MOVE DISTRICT-TOTAL
                  IN TOTAL-DISTRICT-ENTRY (TOTAL-DISTRICT-INDEX) TO
                                                             TOTAL-FIELD
                                                               IN
                                                       TOTAL-DETAIL-LINE
           .
           WRITE PRINT-RECORD-2
             FROM TOTAL-DETAIL-LINE
             AFTER ADVANCING 1 LINE.
           SET ORIGINAL-INDEX-VALUE
             TO TOTAL-DISTRICT-INDEX.
           SEARCH TOTAL-DISTRICT-ENTRY
             AT END
               MOVE 1 TO TABLE-SEARCH-FLAG
             WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO
                  TOTAL-DISTRICT-INDEX
               SET TOTAL-DESCRIPTION-INDEX
                 TO TOTAL-DISTRICT-INDEX.
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None