The process option UPDPDEL produces a variable-length update file
that contains header records and complete delta lines from the input
files, up to a maximum of 32K bytes in each output line.
The UPDPDEL process option is available for the LINE compare type
only.
Figure 1 shows an example of a UPDPDEL
update file.
Prefix codes (
I for insert and
D for
delete) together with the line number precede lines from the input
files. Sub-totals are shown before each group of flagged records:
- INS#= for the number of consecutive inserted
records,
- DEL#= for the number of consecutive deleted records,
- RPL#= for the number of consecutive pairs of
replaced records, and
- MAT#= for the number of intervening matched records.
Figure 1. Example
of a UPDPDEL update file 1 * NEW: JLEVERIN TEST2 A 07/11/2008 12.08
2 * OLD: JLEVERIN TEST1 A
3 *ID- LINE# SOURCE LINE
4 * RPL#= 00000001
5 I - 00000001 This line is reformatted; the spacing in the "new" file differs. 00000100
6 D - 00000001 This line is reformatted; the spacing in the "new" file differs. 00000100
4 * RPL#= 00000001 MAT#= 00000001
5 I - 00000003 This line differs from the text in the "old" file 00000300
6 D - 00000003 This line differs from the text in the "new" file. 00000300
7 * INS#= 00000001 MAT#= 00000001
8 I - 00000005 This line is in the "new" file, but not in the old.
9 * END 00000500
The example in
Figure 1 has the
following lines:
- 1
- Comment line. Lists the new file name and the date and
time of the comparison.
- 2
- Comment line. Lists the old file name.
- 3
- Header comment line.
- 4
- Sub-total line showing that 1 replaced pair of records
follow.
- 5
- The line that has replaced the line in the old file.
- 6
- The line in the old file that has been replaced.
- 7
- Sub-total line showing that 1 inserted record follows.
- 8
- The line that has been inserted in the new file.
- 9
- Comment line. Ends the update file.