Creating a Replication Server Function-String Class

A Replication Server function-string class is a named collection of function strings used with a specified database connection. Function-string classes include those provided with Replication Server and those you create. The three system-provided function-string classes are rs_sqlserver_function_class, rs_default_function_class, and rs_db2_function_class.

Note

To display a list of existing function-string classes, right-click a Function-String Classes folder for your Replication Server in Enterprise Explorer, and choose Show System Function String Classes from the context menu.

To create a Replication Server function-string class, do the following.

  1. Open Enterprise Explorer, and connect to your Replication Server.

  2. Expand the view for your Replication Server connection profile, right-click a primary database for which to create the function-string class, and choose New Artifact from the context menu.

  3. From the wizard selection screen, select Function-string class creation wizard, and click Next to start the wizard. You can also start this wizard by right-clicking aFunction String-Classes folder and choosing New Function-String Class from the context menu

  4. Modify the following fields.

    Function-string class settings

    FieldExample

    Function-String Class Name

    Enter a name for the function-string class.

    Class Information

    Select one of the following:

    • Base Class – Select this option if this function-string class does not inherit function strings from a parent class.

    • Derived Class – Select this option if this function-string class inherits function strings from a parent class. If you select this option, you must specify an existing function-string class as the parent class for the new derived class. Select a parent class from the Parent class menu dropdown.

      Note

      The rs_sqlserver_function_class string class cannot be used as a parent class.

    The changes made in this wizard page appear in the Preview field.

  5. Click Finish to create the function-string class. If the function-string class is successfully created, it appears in the Function-String Classes folder for the specified data server.

Editing a Replication Function-String Class

Dropping a Replication Function-String Class

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com