The listing output section shows where and what the changes are.
Figure 1 is an example of a Listing Output Section for
a LINE comparison with a listing type of DELTA.
Figure 1. Example of the listing output section of the comparison listing 1 LISTING OUTPUT SECTION (LINE COMPARE)
2 ID SOURCE LINES |…| TYPE LEN N-LN# O-LN#
3 ----+----1----+----2----+-|…|-+----8
4 I - 970521 |…| RPL= 1 00001 00001
5 INFO Date cols 11:15 packed 2|…|
6 D - 970522
5 INFO Date cols 11:14 packed 1|…|
- 1
- Section title line. It tells you that this is a LINE
comparison. Possible compare types are BYTE, FILE, LINE, and WORD.
- 2
- Column header line.
- ID
- A two-column prefix code that identifies the status of the line.
See Listing prefix codes.
- SOURCE LINES
- The actual text or data from the source files.
Under this heading, the actual data from the files is listed.
- TYPE
- Further breakdown of the ID field. See Type of difference codes for
information about TYPE codes.
- LEN
- The "length" or number of consecutive
lines of the selected type.
- N-LN#
- Indicates the relative record (line) number of this line (or where
it is to be inserted) in the new source file.
Numbers are in decimal.
- O-LN#
- Indicates the relative record (line) number of this line (or where
it was deleted from) in the old source file.
Numbers are in decimal.
- 3
- The scale of the column positions of the input source lines.
- 4
- An inserted (I) line. The RPL in TYPE indicates that it is
a replacement line. This replacement involves the line 00001 in both
files.
Note: Occasionally, you may see some "unusual" characters on the
inserted (I) and deleted (D) lines. These characters
represent data that is in a non-character (and therefore
not directly printable) format in the input record.
Ignore them.
- 5
- An information line that is generated on a comparison
listing when a Date Definition process statement is used
(see Date definitions)
and when the preceding inserted (I) line or deleted (D) line
contains a date.
The information line shows you the content of the date field
as it exists on the input file and the date as used
in the comparison. For a full example, see Figure 1.
- 6
- A deleted (D) line.