Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Getting Started » Tutorial: Using Direct Row Handling

Lesson 5: Set up your MobiLink client Next Page

Lesson 6: Synchronize


The dbmlsync utility initiates MobiLink synchronization for SQL Anywhere remote databases. Before starting dbmlsync, add order data and comments to your remote database.

To set up your remote data (client-side)
  1. Connect to the MobiLink client database in Interactive SQL:

    At a command prompt, type

    dbisql -c "eng=remote1;uid=DBA;pwd=sql"
  2. Add an order to the RemoteOrders table in the client database.

    Execute the following command in Interactive SQL.

    INSERT INTO RemoteOrders (order_id, product_id, quantity, order_status)
     VALUES (1,12312,10,'new')
  3. Add a comment to the OrderComments table in the client database.

    Execute the following command in Interactive SQL.

    INSERT INTO OrderComments (comment_id, order_id, order_comment)
     VALUES (1,1,'send promotional material with the order')
  4. Commit your changes.

    Execute the following in Interactive SQL:

    COMMIT;
To start the synchronization client (client-side)
Note

Rows downloaded using direct row handling are not printed by the mlsrv10 -v+ option, but are printed in the remote log by the remote -v+ option.

Further reading

For more information about dbmlsync, see SQL Anywhere Clients.