Adaptive Server Anywhere Client Synchronization Parameters
Use the dbmlsync utility to synchronize Adaptive Server Anywhere remote databases with a consolidated database.
dbmlsync [ options ] [ transaction-logs-directory ]
| Option | Description |
|---|---|
| @data | Read in options from the specified environment variable or configuration file. See @data option. |
| -a | Do not prompt for input again on error. See -a option |
| -ap | Specify authentication parameters. See -ap option. |
| -ba filename | Apply a download file. See -ba option. |
| -bc filename | Create a download file. See -bc option. |
| -be string | When creating a download file, add a string. See -be option. |
| -bg | When creating a download file, make it suitable for new remotes. See -bg option. |
| -c connection-string | Supply database connection parameters in the form parm1=value1; parm2=value2,... If you do not supply this option, a dialog will appear and you must supply connection information. See -c option. |
| -d | Drop any other connections to the database whose locks conflict with the articles to be synchronized. See -d option. |
| -dc | Enable restartable downloads. See -dc option. |
| -dl | Display log messages on the console. See -dl option. |
| -ds | Specify download-only synchronization. See -ds option. |
| -e "option=value"... | Specify extended options. See dbmlsync extended options. |
| -eh | Ignore errors that occur in hook functions. |
| -ek key | Specify encryption key. See -ek option. |
| -ep | Prompt for encryption key. See -ep option. |
| -eu |
Specify extended options for upload defined by most recent -n option. See -eu option.
|
| -is | Ignore schedule. See -is option. |
| -k | Close window on completion. See -k option. |
| -l | List available extended options. See -l option. |
| -mn password | Specify new MobiLink password. See -mn option. |
| -mp password | Specify MobiLink password. See -mp option. |
| -n name | Specify synchronization publication name(s). See -n option. |
| -o logfile | Log output messages to this file. See -o option. |
| -os size | Specifies a maximum size for the output log, at which point the log is renamed. See -os option. |
| -ot logfile | Truncate file and log output messages to file. See -ot option. |
| -p | Disable logscan polling. See -p option. |
| -pd dllname;... | Preload specified dlls for Windows CE. See -pd option. |
| -pi | Test that you can connect to MobiLink. See -pi option. |
| -pp number | Set logscan polling period. See -pp option. |
| -q | Run in minimized window. See -q option. |
| -r[ a | b ] | Upload retry on client progress. See -r option. |
| -sc | Reload schema information before each synchronization. See -sc option. |
| -tu | Remote transactions are preserved on upload. See -tu option. |
| -u ml_username | Allows you to specify the MobiLink user to synchronize. See -u option. |
| -uo | Synchronization will be upload-only (no download). See -uo option. |
| -urc row-estimate | Allows you to specify an estimate of the rows that will be uploaded. See -urc option. |
| -v[ levels ] | Verbose operation. See -v option. |
| -wc classname | Specify a window class name. See -wc option. |
| -x | Rename and restart the transaction log. See -x option. |
| transaction-logs-directory | Specify the location of the transaction log. See Transaction Log File, below. |
Run dbmlsync on the command line to synchronize an Adaptive Server Anywhere remote database with a consolidated database.
To locate and connect to the MobiLink synchronization server, dbmlsync uses the information on the publication, synchronization user, synchronization subscription, or command line.
Transaction log file The transaction-logs-directory is the directory that contains the transaction log for the Adaptive Server Anywhere remote database. There is an active transaction log and transaction log archive files, both of which may be required by dbmlsync to determine what to upload. You must specify this parameter if the following are true:
the working log file has been truncated and renamed since you last synchronized
you run the dbmlsync utility from a directory other than the one where the renamed log files are stored
For more information, see Transaction log files.
dbmlsync event hooks There are also dbmlsync client stored procedures that can help you customize the synchronization process. For more information, see Customizing the client synchronization process and Dbmlsync Client Event Hooks.
Using dbmlsync For more information about using dbmlsync, see Initiating synchronization.
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.