![]() |
COMP Compare
The COMP function will perform a comparison of
a) two files of any file format (Fcbtype, Recform, Recsize, ...),
two library elements, or a file with a library element.
b) two job variables
c) two libraries at the level of the individual elements
d) all elements existing in a library in multiple versions. Here the elements are compared according to ascending version number (History Compare).
e) all files/libraries whose names appear in two file lists created by CFS (File list Compare).
The result of the comparison is stored in a file with the name CFS.COMPLIST.tsn. yymmdd.hhmmss.
For c) to e) above, the user can specify the scope of the comparison:
- Compare on matching names in both file lists
- If appropriate data objects (names) exist in both libraries/file lists: 1 to 1 comparison for similarities/differences.
- If appropriate data objects (names) exist in both libraries/file lists: synchronised comparison with output of the same/differing records.
Issuing the command COMP,, params, the compare parameters can be predefined for successive compare runs.
Issuing the command COMP,, will cause all the compare parameters to revert to the standard values.
All COMP command parameters are optional. If no parameter is given, or if the last parameter entered is a "?", then the following COMP Parameter Mask is displayed.