The following table explains how COMPARE works:
|
Stage |
Action |
|---|---|
|
1 |
COMPARE uses the same logic paths as RESTORE to deblock and address a record as if it were to be restored. |
|
2 |
A VSAM sequential GET macro is issued against the cluster, and the disk and backup records are compared. |
|
3 |
Tests are made to verify the following:
|
|
4 |
Any discrepancies are reported by message GV906. For more information, see the CA FAVER Message Reference Guide. |
Usage Rules
The COMPARE command has the following usage rules:
Samples
The following are sample COMPARE jobs:
|
Job |
Explanation |
|---|---|
|
COMPARE CATALOG EXCLUDE CL=TEST.+ |
Reads all clusters in the catalog except those that begin with TEST. and compares each record byte for byte. |
|
COMPARE CLUSTER CL=CICS+ |
Reads all clusters that begin with CICS and compares each record byte for byte. |
|
Copyright © 2011 CA.
All rights reserved.
|
|