Previous Topic: UtilitiesNext Topic: User Exits


COMPARE

COMPARE ensures the accuracy of an export. It is essential as a double-check mechanism when certain warning messages are issued during an export.

COMPARE is invoked by the GVRESTOR program and a COMPARE control statement instead of a RESTORE control statement. The remaining COMPARE control statements are the same for a RESTORE.

During COMPARE processing, the backup record and disk record are compared to ensure identical content and length. Then, the end-of-file is tested to make sure the same number of records is on the backup as on the disk. If any mismatches occur, a message describing the type of discrepancy is printed and the contents of the records involved are dumped. For more information, see the chapter "COMPARING."

Note: COMPARE cannot be used with files unloaded with SAVECOMP.