User's Manual

Chapter 14. Utilities and Options Reference
ssremote @c:\config.txt
or
dbremote @c:\config.txt
–a Process 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.
–b Run 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:\Program Files\Sybase\SQL
Anywhere 9\asademo.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