|
Entire document Available as PDF |
Table of Contents
You can use SUPERC, which is part of ISPF/PDF, to compare the directories of two partitioned data sets. SUPERC is available interactively under the Utilities menu within
ISPF and in OS/390 batch.
SUPERC permits comparisons even when data sets being compared have redundant data such as blank lines, duplicate words, and duplicate characters in binary data.
SUPERC offers four compare levels. They are:
Summarizes differences between two files being compared
Record oriented. Shows matching, inserted, deleted and reformatted lines. Most useful for comparing lines of program source code. Can be used to help detect regressions and to validate appropriateness of code modifications.
Reveals differences in data strings delimited by spaces and punctuation marks, such as commas. Finds matching words, even when they are on different lines. Most useful for comparing two text data sets and tracking revisions in text documents.
Finds differences in bytes. Best for comparing machine-readable and unformatted data.
Two output choices are available: A listing of the results of a search or comparison, and/or a structured data set containing update information.
More than 30 process options are available, to specify where and how searches and compares are made, and how output is displayed or used. Different process options are available under each of the comparison levels described above. Note: More than one level of compare may be performed on two data sets. However, results may not be identical because of the methods used for different compare levels.
See the IBM manual ISPF/PDF Guide and Reference, SuperC Reference, for further details on compare levels and more information about SUPERC, including how to search for specific terms within a PDS. Figure 1 shows the JCL needed to
run SUPERC in batch. You should replace "" and "data.set.one" with the names of the two partitioned data sets
you want to compare.data.set.two