![]() |
COMP Compare
%name The parameter specifications for the Compare function will be provided by the specified parameter set.
%? All relevant parameter sets will be displayed in a screen, from which one can be selected by marking it.
JRS=jrfile Name of the JRSAVE file containing the parameter set.
Standard: CFS.JRSAVE.xxxx. For further information, see page 27-.
Notes:
The Compare parameters set by the parameter set can be modified by specifying additional values, such as name1, name2.
Saving a COMP parameter set under CFS is achieved with the SP COMP%name command. For further information, see page 7-.
name1 Name of the first data object to be the subject of the compare. For data object, the name of a file, a job variable, (see parameter F=J), a whole library, or a library element can be given.
A library element should be given in the form lib( [t/] name [/vers]). The element type S/ can be omitted for PLAM libraries.
If particular elements of a library are to be compared with appropriate elements of another library, the desired elements of the first library can be specified in the following way: lib( 'str1' [op 'str2'] ... ). For operator op, |+|* (Or/And/Wildcard) can be given. For a complete description of the search statements, see the section titled "Multiple Searches" on page 8-.
Example: CFS.LIB.TEST1('S/','J/'). On account of the selection criteria, all elements of the type S or J in the PLAM library CFS.LIB.TEST1 are compared with appropriate elements in the library specified in name2.
If all versions of a particular element in a library are to be compared in ascending version number sequence (History Compare, parameter F=H, see page 7-), then the version description /vers in the element name may not be specified.
If the versions of an element from a particular number, or to a particular number are to be compared, then the version descriptor /vers must be terminated with a + / - character.
+: Compare all versions from the specified number to the highest.
-: Compare all versions from the lowest to the specified number.
C1 This results in a file assigned as /FILE file,LINK=C1 being used as the first input file.
(name1) File list compare: name of the first file list to be used as the reference for the compare. The file list should be created by selecting the required data objects, and saving this selection with the DOC file (see 18-) or by entering the file name in the DOCUMENTATION field of the selection mask (see 4-).
Note: In this way, multiple libraries can be selected as files, and the individual elements can be compared on the logical level with those in the selected libraries in the second reference file (name2).