Show TOC

rs_init_erroractionsLocate this document in the navigation structure

Initializes a new error class.

Note

rs_init_erroractions will be deprecated. To initialize new classes, SAP suggests that you use create error class with the set template to option.

Syntax
rs_init_erroractions <new_error_class>, <template_class>
Parameters
new_error_class

The name of the new error class you have created.

template_class

The name of the error class that you want to serve as a template for the new error class.

Examples
Example 1

Creates the error class <new_class>, based on the template error class, <rs_sqlserver_error_class>.

rs_init_erroractions new_class, rs_sqlserver_error_class
Usage
  • The template error class may be a user-defined error class or a system-provided error class such as <rs_sqlserver_error_class>.

  • Use the create error class command to create the new error class in the primary Replication Server for that error class. Then use rs_init_erroractions to initialize the class.