Compare type
The type of comparison to be performed.
Valid values are:
- FILE
- Compares source file for differences, but does not show what the differences are. This is the simplest and fastest method, with the least amount of processing. For this compare type, SuperC reports only summary information.
- LINE
- Compares source files for line differences.
It is the most commonly used compare type (and the default).
The output report lists inserted and
deleted lines; changed lines are treated as a deletion and
insertion.
Line lengths may be of any size.
Unequal record lengths are padded with spaces. There are no other padding options. A compare type of LINE informs you whether the data content is the same or not. It is common to compare lines from two files, ignoring the sequence columns in 73-80. However, this may yield results that differ from when a compare type of FILE is used (see Reasons for differing comparison results).
- WORD
- Breaks the files into lines
and then into individual
words. The results are like those for the LINE compare type
except words on adjacent lines can be matched.
Word delimiters are normally spaces and end-of-line. The XWDCMP process option lets you use the standard set of non-alphanumeric characters in addition to spaces as delimiters.
- BYTE
- Compares source files for byte differences. The output listing
files consists of a hexadecimal printout with character equivalents
listed on the right.
The summary listing at the end details the number of bytes processed
in the comparison.
To obtain a complete hex dump of a file, compare the file against itself, specifying a BYTE compare type with a LONG listing type.