Creating a new resource file

Resource file templates, mssql.rs (for Microsoft SQL Server), oracle.rs (for Oracle), and ibmudb.rs (for IBM DB2 Universal Database) are provided in the init subdirectory of the Replication Agent installation directory. For example:

C:\sybase\RAX-15_1\init\mssql.rs

or

C:\sybase\RAX-15_1\init\oracle.rs

or

C:\sybase\RAX-15_1\init\ibmudb.rs

The resource file template contains comments that describe each configuration parameter and its value.

NoteSybase recommends that you validate each resource file before you create a Replication Agent instance using that resource file.

StepsTo create a resource file

  1. Copy the resource file template to another file that you edit to create the new resource file. For example:

    cp oracle.rs pubs2.rs
    

    Here, pubs2.rs is the name of the new resource file you want to create.

    If you have an existing resource file, you can copy that file to create a new resource file, instead of copying the template.

  2. Use your preferred text editor to edit the resource file copy that you created.

After you create a new resource file, you should validate it. For more information, see “Validating a resource file”.