FILE message control parameters

You can also use the file system to put the messages in directories on the consolidated and remote machines. A simple file transfer mechanism can then be used to exchange the files periodically to effect replication.

The FILE message system uses the following control parameters:

Directory This is set to the directory under which the messages are stored. The setting is an alternative to the SQLREMOTE environment variable.

Debug This is set to either YES or NO, with the default being NO. When set to YES, all file system calls made by the FILE link are displayed.

Unlink_delay This is the number of seconds to wait before attempting to delete a file if the previous attempt to delete the file failed. If no value is defined for unlink_delay, then the default behavior is to pause for 1 second after the first failed attempt, 2 seconds after the second failed attempt, 3 seconds after the third failed attempt, and 4 seconds after the fourth failed attempt.

On NetWare, you should create a file named dbremote.ini in the sys:\system directory to hold the directory setting.

The ftp message system

Addresses for ftp

FTP message control parameters

In the ftp message system, messages are stored in directories under a root directory on an ftp host. The ftp host and the root directory are specified by message system control parameters held in the registry or initialization file, and the address of each user is the subdirectory where their messages are held.

For a list of operating systems for which ftp is supported, see “Supported operating systems” on page 447 .

The ftp message system uses the following control parameters:

host The host name of the computer where the messages are stored. This can be a host name (such as ftp.ianywhere.com) or an IP address (such as 192.138.151.66).

user The user name for accessing the ftp host.

password The password for accessing the ftp host.

root_directory The root directory within the ftp host site, under which the messages are stored.

216

Page 234
Image 234
Sybase DC38133-01-0902-01 manual Ftp message system