Using a Resource file for rs_init

Prepare and use a resource file for rs_init.

Sybase supplies several resource file templates for Replication Server. Each template contains the attributes that are valid for a certain rs_init operation. Copy and edit a template file, which is supplied with the Replication Server software.

  1. Select the resource file template you want to use.
  2. Make a copy of the template and rename it to distinguish it from the original. For example:
    copy install.rs install.rsx
    Note: You must have read and write permissions on the copy of the resource file template that you want to edit. You may need to grant write permission to yourself as the file owner.
  3. Use a text editor to edit the new resource file.
    For example, enter:
    edit install.rsx
  4. When you have finished editing the resource file, start rs_init from the operating system prompt, using the -r flag to specify your resource file. For example:
    %SYBASE%\%SYBASE_REP%\install\rs_init -r
    install.rsx
    Warning!  If you try to start a resource file session with an input file that is not an edited copy of one of the resource file templates, rs_init fails upon validation of the input file.
    You can also start rs_init using a resource file with other command line options for your replication environment.
Related reference
rs_init Command Line Options