Figure 1 shows simplified z/VSE® JCL for comparing all like-named
members in two Librarian sublibraries. This example is supplied with
SuperC in the Librarian member ASMFVSC5.Z. Figure 1. Sample z/VSE JCL for comparing all like-named members
in two sublibraries
Members in either sublibrary not having like-named members in the
other sublibrary are not compared, but are reported in the listing
file.
The update file, which is created by SuperC only if you specify
an UPD… process option, is a non-VSAM-managed sequential
file. If you want to use a DLBL name other than UPDDD for the update
file, specify an UPDDD process statement (as shown in Figure 1).
To restrict a comparison of sublibraries to selected members only,
use the SELECT process statement. For example, the following process
statement:
SELECT NEW1.SOURCE:OLD1.SOURCE,SAME.C
instructs
SuperC to compare only:
Member NEW1.SOURCE in the new sublibrary with member OLD1.SOURCE
in the old sublibrary
Member SAME.C in the new sublibrary with member SAME.C in the
old sublibrary
There are two ways to compare only Librarian members:
Use the SELECT process statement.
In the NEWDD and OLDDD process statements, specify members rather
than entire sublibraries. For example:
NEWDD LIB.NEWSUB.SAME.C
OLDDD LIB.OLDSUB.SAME.C
To compare groups of members, specify asterisk (*)
wildcard character in the member name or type in the NEWDD and OLDDD
process statements. For example: