User's Manual
❖ To send the data to the remote database
1. From a command prompt, change to your tutorial directory. For example,
> c:
> cd c:\tutorial
2. Enter the following statement at the command line to run the Message
Agent against the consolidated database:
dbremote -c "dbn=hq;uid=dba;pwd=sql"
This command line assumes that the hq database is currently running on
the default server. If the database is not running, you must supply a dbf
parameter with the database file name instead of the dbn parameter.
☞ For more information on
dbremote
options, see “The Message
Agent” on page 292.
3. Click Shutdown on the Message Agent window to stop the Message
Agent when the messages have been sent. The Message Agent window
displays the message Execution completed when all processing is
complete.
Receive data at the remote database
To receive the insert statement at the remote database, you must run the
Message Agent,
dbremote
, at the remote database.
❖ To receive data at the remote database
1. From a command prompt, change to your tutorial directory. For example,
> c:
> cd c:\tutorial
2. Enter the following statement at the command line to run the Message
Agent against the field database:
dbremote -c "dbn=field;uid=dba;pwd=sql"
This command line assumes that the field database is currently running
on the default server.
☞ For more information on
dbremote
options, see “The Message
Agent” on page 292.
3. Click Shutdown on the Message Agent window to stop the Message
Agent when the messages have been processed. The Message Agent
window displays the message Execution completed when all
processing is complete.
48