Syntax and Parameters for a Resource File

Resource files list the attributes and their values to be defined during an rs_init session.

Syntax

Attribute entries are in this format:

product_name.attribute:value

Parameters

Usage

  • Resource file entries can be only one line long (80 characters).

  • rs_init does not recognize end-of-line characters, carriage returns, or backslashes.

  • rs_init ignores blank lines and lines that begin with a pound sign (#).

  • If you do not enter a valid value for every required attribute, rs_init returns an error when you use the resource file.

  • If a Sybase-defined default value exists for an attribute, you can specify the default with the special value USE_DEFAULT.

  • Certain resource file attributes can take lists of values. Attributes that can accept lists of values end with “_list.” Use commas to separate values. For example:

    rs.rs_rs_network_protocol_list:tcp,ipx
  • If you use a resource file to upgrade or modify a Replication Server, you can use the UNCHANGED value to indicate that a particular attribute should remain unchanged.
  • You cannot use the USE_DEFAULT or the UNCHANGED value for required attributes with a null default value, except for attributes that specify passwords. If you enter USE_DEFAULT or UNCHANGED for attributes that specify passwords, rs_init uses a NULL password.