Overview of the Logical Compare function


The Logical Compare (COMPARE) function allows you to compare IMS batch log tapes to determine whether the output logs are logically identical.

Using the Logical Compare function is necessary when comparing identical runs of a batch program with and without use of BCF. The Logical Compare function uses a logical approach because log records contain time-sensitive information. The Logical Compare function also checks log record sequence numbers and key log record flags. The utility provides the Log Utility Logical Compare report that shows block and record counts for both logs.

Log Utility Logical Compare report

    BCF                         IMS LOG UTILITY                   PAGE  1

                       -------------------------------
                       | LOG UTILITY LOGICAL COMPARE |
                       -------------------------------

                   COMPARE UTILITY INPUT DATA SETS

   DDNAME    BLKSIZE  DSNAME
   --------  -------  --------------------------------------------
   INPUT      16,384  DLI.BATCH.LOG

   DDNAME    BLKSIZE  DSNAME
   --------  -------  --------------------------------------------
   OUTPUT     16,384  SYS94215.T152748.RA000.BCFLGBCS.LOG1

   INPUT 1: INPUT                 INPUT 2: OUTPUT

   BMC48031I RECORD TYPES ARE NOT THE SAME
 REC.TYPE      41                             67
   BMC48031I RECORD TYPES ARE NOT THE SAME
 REC.TYPE      41                             67
   BMC48031I RECORD TYPES ARE NOT THE SAME
 REC.TYPE      41                             67
   BMC48031I RECORD TYPES ARE NOT THE SAME
 REC.TYPE      41                             67
   BMC48031I RECORD TYPES ARE NOT THE SAME
 REC.TYPE      41                             67
   BMC48031I RECORD TYPES ARE NOT THE SAME
 REC.TYPE      41                             67

                     LOG DATA SET PHYSICAL DETAIL

   DDNAME     NUMBER BLOCKS  NUMBER RECORDS
   --------   -------------   ----------------
   INPUT                193             26,785
   OUTPUT               193             26,785

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

APPLICATION RESTART CONTROL 4.1 (ARCHIVED)