![]() |
COMP Compare
RP=Tn The parameter RP=Tn has three different meanings:
a) Scope of the Comparison.
T1 The comparison is restricted to checking if a name in file list (name1), or library 1 matches a name in file list (name2) or library 2. When comparing two libraries, only the highest version of each element will normally be checked. Setting the parameter F=M (Multiple) will cause all versions to be checked.
The parameter value RP=T1 is not relevant with History Compare (parameter F=H, see page 7-).
T2 The comparison encompasses the level T1. Additionally, the respective files, or elements of the respective libraries are compared using a fast algorithm. The result is saved to the comparison log (Standard).
T3 as T2, except that the synchronised comparison algorithm is used to compare the respective files or elements of the respective libraries. Differing records are output to the comparison log in accordance with the RP operands p, Lnum4 and u (see above). Further information regarding the T3 parameter can be found in the notes below.
RP=T3 is the standard value for History Compare (parameter F=H, see page 7-).
T4 as T3, except that the preceding and succeeding matching records are listed in the log for each difference. This serves, above all, to give a better insight into the context in which the inequality occured. Using the parameter E num5 (see above), the number of matching records can be specified. num5 has a standard value of 25. By choosing an extremely high value for num5, output of the entire file can be achieved. The equal/unequal records are flagged in the comparison log by the =/# character. When using the T4 parameter, it is desirable to give the newest file first, and the oldest file as the second name.
The T4 parameter can only be used in conjunction with synchronised comparison (S=Y).
The T4 parameter offers the user the possibility of comparing two files and displaying only the identical records from each file in the compare log. The parameter in the "Record Printing" (RP) field should be: L0E9999T4. In addition, the "Number of records for synchron-point" field (SR) should have a value of 1.
b) Scope of the Log when comparing with Synchronisation Field.
(F=s-fld).
T1 Only the synchronisation fields are logged for unequal records.
T2 Only the record contents are logged for unequal records.
T3 The record contents, and additionally, the synchronisation fields are logged separately. (Standard)
c) Comparison without synchronisation (S=N): The entry RP=T2 will cause the comparison to be accelerated in so far as the comparison is terminated at the first inequality. No comparison log is produced, as the result (equality/ inequality of the data) is displayed in the compare mask. Entering RP=T3 will cause the files to be compared to the end. The user will get a comparison log which will detail all differences.