In this release, changes were made to the FairCom Server defaults for replication behavior on SRLSEG and identity fields.
Compatibility Note: This is a change in behavior, but many of the FairCom Server configuration files included in FairCom products already contain this option so the behavior is already in effect in those cases. However, the FairCom RTG package did not include these options, so this will change the default behavior for FairCom RTG COBOL Edition and FairCom RTG BTRV Edition.
The default values have been changed for the following options:
REPL_SRLSEG_ALLOW_UNQKEY now defaults to YES
This option allows a SRLSEG index to be used as a replication unique index. Without this option, a data file whose only unique index is a SRLSEG index would not qualify for replication. By changing this default to YES, the SRLSEG index can be used as a replication unique index, which is the commonly-expected behavior.
REPL_SRLSEG_USE_SOURCE now defaults to YES
This option uses the serial number value from the source FairCom Server when adding a record to a replicated file. This option applies to c-tree's asynchronous (source/target) replication model, in which a Replication Agent replicates changes from a source FairCom Server to a target FairCom Server. By changing this default to YES, records added to the target server will contain the SRLSEG value from the record on the source server, rather than the target server generating its own SRLSEG value for the new record. This default option corresponds to the behavior that is most likely to be expected.
REPL_SRLSEG_USE_MASTER now defaults to YES
This option uses the serial number value from the master FairCom Server when adding a record to a replicated file. This option applies to c-tree's synchronous (local/master) replication model, in which an update to a record on a local FairCom Server triggers an update to the record in the associated table on the master FairCom Server. By changing this default to YES, records added to the local server will contain the SRLSEG value from the record on the master server, rather than the local server generating its own SRLSEG value for the new record. This default option corresponds to the behavior that is most likely to be expected.
REPL_IDENTITY_USE_SOURCE now defaults to YES
This option uses the identity field value from the source FairCom Server when adding a record to a replicated file. This option applies to c-tree's asynchronous (source/target) replication model, in which a Replication Agent replicates changes from a source FairCom Server to a target FairCom Server. By changing this default to YES, records added to the target server will contain the identity field value from the record on the source server, rather than the target server generating its own identity field value for the new record. This default option corresponds to the behavior that is most likely to be expected.
REPL_IDENTITY_USE_MASTER now defaults to YES
This option uses the identity field value from the master FairCom Server when adding a record to a replicated file. This option applies to c-tree's synchronous (local/master) replication model, in which an update to a record on a local FairCom Server triggers an update to the record in the associated table on the master FairCom Server. By changing this default to YES, records added to the local server will contain the identity field value from the record on the master server, rather than the local server generating its own identity field value for the new record. This default option corresponds to the behavior that is most likely to be expected.