Show TOC

rs_get_errormodeLocate this document in the navigation structure

Returns native error configuration, which determines whether or not the native error is returned directly from the replicate server.

Examples
Example 1

Creates an rs_get_errormode function string for the oth_sql_class function-string class that returns a native error.

create function string rs_get_errormode
for oth_sql_class
output language 'select yes'
Example 2

Creates an rs_get_errormode function string for the oth_sql_class function-string class that does not return a native error.

create function string rs_get_errormode
for oth_sql_class
output language 'select no'
Usage
  • The rs_get_errormode function has function-string-class scope.

  • Replication Server creates an initial rs_get_errormode function string for the system-provided function-string classes during installation.

  • If you use a user-created base function-string class, you must create an rs_get_errormode function string.

  • Create or customize an rs_get_errormode function string at the Replication Server that is the primary site for the class.

  • Expected result for the function rs_get_errormode is either yes or no.