Comparison of Target-Scope and Replication Definition-Scope Function Strings

There are several differences between target-scope and replication definition-scope function strings.

Replication Definition-Scope Target-Scope
A replication definition-scope function string is associated with a function-string class. A target-scope function string is associated with a target (standby or replicate) database.
Create replication definition-scope function strings against replication definitions for function-string classes at the Replication Server that manages the replication definition. Create target-scope function strings for target tables or stored procedures at the Replication Servers that manage the standby or replicate databases.
Replication Server checks whether a column or parameter for a function string is valid when the function string is created or altered against the replication definition. Replication Server does not check the validity of a column or parameter for a function string until Replication Server converts a DML command using the function string template, and applies the command to the standby or replicate database. If the column or parameter information is incorrect, the DSI connection shuts down. You can resume the DSI connection after correcting the function string.
When you create a replication definition-scope function string, Replication Server creates the full set of default function strings for the replication definition.

When you create a target-scope function string, Replication Server creates only the function string that you specify.

The only exception is with the rs_get_textptr and rs_writetext function strings because they coexist. If there is a customized function string for rs_writetext, the function string for rs_get_textptr also exists. They both can exist as a customized function string, or as a system-created default function string.