Sybase SQL Remote DC38133-01-0902-01 User Manual

Page of 485
Setting message type control parameters
Each message link has several parameters that govern aspects of its behavior.
The parameters differ from message system to message system, but all are
managed in the same way.
When you first use the Message Agent for a particular message link, it
displays a dialog box showing a set of parameters that control the behavior of
the link. These parameters may be a user ID for the message system, a host
name where ftp messages are held, and so on. The parameters you enter are
saved by the Message Agent. You can also set these parameters explicitly.
Message link parameters
stored in the database
The message control parameters are held in the database. You can set the
options as follows:
To set a message control parameter (Adaptive Server Anywhere)
1. Execute the following statement:
SET REMOTE link-name OPTION
[username.]option-name option-value
To set a message control parameter (Adaptive Server Enterprise)
1. Execute the following statement:
exec sp_link_option link-name, [username],
option-nameoption-value
You can see the current message link parameters by querying the
sys.sysremoteoptions view (Adaptive Server Anywhere) or the
sr_remoteoptions view (Adaptive Server Enterprise).
Holding the message link
parameters on disk
Earlier versions of this software stored the message link parameters outside
the database. You can still use this method, but storing the parameters inside
the database is recommended unless you have specific reasons to choose
otherwise.
The message link control parameters are stored in the following places:
Windows
In the registry, at the following location:
\\
HKEY_CURRENT_USER
\
Software
\
Sybase
\
SQL Remote
214