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

SQL Anywhere 17 » MobiLink and SAP HANA Remote Data Sync - Client Administration » SQL Anywhere clients for MobiLink » MobiLink SQL Anywhere client utility (dbmlsync) syntax

-u dbmlsync option (deprecated)

Specifies the MobiLink user name.

Note

This option has been deprecated. Use the -s dbmlsync option instead.

To use the dbmlsync -s option you need to determine the subscription name for the subscription you want to synchronize. You can determine the subscription name using the following query:

SELECT subscription_name 
FROM syssync JOIN sys.syspublication 
WHERE site_name = ml_user AND publication_name = pub_name;

Replace ml_user with the MobiLink user you are synchronizing. This is the value specified by the -u option on the dbmlsync command line.

Replace pub_name with the name of the publication being synchronized. This is the value specified with the -n option on the dbmlsync command line.

Syntax
dbmlsync -u ml_username ...
Remarks

You can specify only one user on the dbmlsync command line, where ml_username is the name used in the FOR clause of the CREATE SYNCHRONIZATION SUBSCRIPTION statement corresponding to the subscription to be processed.

This option should be used with -n publication to identify the subscription on which dbmlsync should operate. Each subscription is uniquely identified by an ml_username, publication pair.

You can only specify one user name on the command line. All subscriptions to be synchronized in a single run must involve the same user. The -u option can be omitted if each publication that is specified on the command line with the -n option has only one subscription.