“ALTER REMOTE MESSAGE TYPE statement” on page 355

“DROP REMOTE MESSAGE TYPE statement” on page 362

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

The message control parameters are held in the database. You can set the

stored in the database

options as follows:

To set a message control parameter (Adaptive Server Anywhere)

1.Execute the following statement:

SET REMOTE link-nameOPTION

[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-name,option-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 Earlier versions of this software stored the message link parameters outside

parameters on disk 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:

nnHKEY_CURRENT_USER nSoftware

nSybase

nSQL Remote

214

Page 232
Image 232
Sybase DC38133-01-0902-01 manual Setting message type control parameters