Source code standard report format
All source code compare reports can be viewed in the Standard report format. The following figure shows a sample source code compare report in standard format. This sample report also has the underline changes with the ~ character turned on. Standard displays the OLD compare lines/block ahead of the NEW compare lines/block.
Standard Source Code Compare Online Report
The Source Code Compare Report identifies the OLD and NEW data sets and lists the compared members.
Change Block
Source code compare also introduces the concept of a change block. All of the lines between synchronization points are considered part of a change block. Within the change block there can be inserted, deleted and changed lines. A line is considered a changed line if there is a high degree of similarity between the lines on the old and new file.
The concept of a change block allows more lines to be considered changed lines instead of inserted or deleted lines. This logic is different from the normal compare logic where a record can only be considered a change if there is a matching sync-key.
The report displays the following columns:
OLD-#
Displays the line number of the OLD file.
NEW-#
Displays the line number of the NEW file.
STATUS
Displays the compare results status for the compared line.
MATCH
Both old and new line are the same.
CHANGE
There are differences between the old and new lines.
DELETE
This line has been deleted.
INSERT
This line has been inserted.
SHIFT
This line has been shifted. A line is considered a shifted line if the only difference between the lines is the number of blanks.
X
This line has been excluded from the comparison.