Contents IndexALTER PUBLICATION statement ALTER TABLE statement

User's Guide
   Part VI. SQL Anywhere Reference
     Chapter 43. Watcom-SQL Statements
      ALTER REMOTE MESSAGE TYPE statement

Function

To change the publisher's address for a given message system, for a message type that has been created.

Syntax

     ALTER REMOTE MESSAGE TYPE message-system
          ..    ADDRESS address-string

Parameters

     message-system:
          MAP| FILE| VIM| SMTP

Usage

Anywhere. This statement is applicable only to SQL Remote.

Permissions

Must have DBA authority.

Side effects

Automatic commit.

See also

Description

The statement changes the publisher's address for a given message type.

The Message Agent sends outgoing messages from a database by one of the supported message links. The extraction utility uses this address when executing the GRANT CONSOLIDATE statement in the remote database.

The address is the publisher's address under the specified message system. If it is an e-mail system, the address string must be a valid e-mail address. If it is a file-sharing system, the address string is a subdirectory of the directory specified by the SQLREMOTE environment variable, or of the current directory if that is not set. You can override this setting on the GRANT CONSOLIDATE statement at the remote database.

For the FILE link, the ALTER REMOTE MESSAGE TYPE statement also causes the Message Agent to look for incoming messages in the address given for each message type.

Example

The following statement changes the publisher's address for the FILE message link to new_addr.

     CREATE REMOTE MESSAGE TYPE file
     ADDRESS 'new_addr'

Contents IndexALTER PUBLICATION statement ALTER TABLE statement