Sybase DC38133-01-0902-01 manual 295

Models: DC38133-01-0902-01

1 485
Download 485 pages 33.95 Kb
Page 313
Image 313

Chapter 14. Utilities and Options Reference

ssremote @c:nconfig.txt

or

dbremote @c:nconfig.txt

–aProcess the received messages (those in the inbox) without applying them to the database. Used together with -v(for verbose output) and -p(so the messages are not purged), this option can help detect problems with incoming messages. Used without -p, this option purges the inbox without applying the messages, which may be useful if a subscription is being restarted.

–bRun in batch mode. In this mode, the Message Agent processes incoming messages, scans the transaction log once and processes outgoing messages, and then stops.

–c “parameter=value; . . . ” Specify connection parameters. For Adaptive Server Anywhere, if this option is not specified, the environment variable SQLCONNECT is used.

For example, the following statement runs dbremote on a database file named c:Program Files\Sybase\SQL Anywhere 9\asademo.db, connecting with user ID DBA and password SQL:

dbremote -c "uid=DBA;pwd=SQL;dbf=c:nProgram FilesnSybasenSQL Anywhere 9nasademo.db"

The Message Agent must be run by a user with REMOTE DBA authority or DBA authority.

For information on REMOTE DBA authority, see “The Message Agent and replication security” on page 243 .

The Message Agent for Adaptive Server Anywhere supports the full range of Adaptive Server Anywhere connection parameters. The Message Agent for Adaptive Server Enterprise supports the following connection parameters:

Parameter

Description

 

 

UID

Login ID

PWD

Password

DBN

(optional) Database name. If this parameter is not supplied,

 

the connection defaults to the default database for the login

 

ID.

ENG

Adaptive Server Enterprise name.

 

 

295

Page 313
Image 313
Sybase DC38133-01-0902-01 manual 295