Resource files list the attributes to be defined during an rs_init session and the values for these attributes. This section describes the syntax and parameters you can use in the resource file and additional information, such as restrictions and usage.
Attribute entries are in this format:
product_name.attribute:value
product_name – is either sybinit or rs.
attribute – is an item for which you are supplying information, such as a server name or network protocol.
value – is the value you want to assign to the attribute.
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.