MacKinney Systems, Inc.

Compares 2 versions of a file.

File Compare

File Compare usage

Q:

I am comparing two non-keyed files.  When file-comapre encounters a record that has been added or deleted then the remainder of the entire file compares non-equal.  How can I get the two files to re-sync?


A:

The bad news... FIC -MUST- have a key to re-synch... the good news... the files do -NOT- have to be in an indexed or keyed DSORG.
All you need is a field within each record to -ACT- as a key. Any identifying field can be used.
See:   KEY-POS
          KEY-LEN
          KEY-ASC/KEY-DSC

key includes dataset compare

Q:

Using mulitple KEY fields and multiple INCLUDE's, should we specify the offsets of the keys as they are BEFORE or AFTER the INCLUDE parameters are applied to the record?


A:

AFTER.  New record images a created based on the INCLUDE parms then the keys are located.

 

Limit number of records not comparing correctly

Q:

Can you limit the number of records not comparing correctly?


A:

Use the THRESHOLD parameter to stop the compare after a specified number of mismatches.