Adaptive Server Anywhere Client Synchronization Parameters
Specifies restartable downloads.
dbmlsync -e cd={ ON | OFF }; ...
By default, if MobiLink fails during a download it doesn't apply any of the download data to the remote database. However, it stores the part of the download it did receive in a temporary file on the remote device, so that if you specify -e cd the next time you start dbmlsync, it can more quickly complete the download. When you specify -e cd, dbmlsync restarts the download and attempts to download the part of the previous download that it did not receive. If it is able to download the remaining data, it applies the complete download to your remote database.
If there is any new data to be uploaded when you use -dc, the restartable download will fail.
You can also specify restartable downloads for Adaptive Server Anywhere remote databases with the -dc option or with the sp_hook_dbmlsync_end hook.
This option has a short form and long form: you can use cd or ContinueDownload.
You can also store extended options in the database. For more information about dbmlsync extended options, see dbmlsync extended options.
sp_hook_dbmlsync_set_extended_options
The following dbmlsync command line illustrates how you can set this option when you start dbmlsync:
dbmlsync -e "cd=on"
The following SQL statement illustrates how you can store this option in the database:
CREATE SYNCHRONIZATION SUBSCRIPTION TO sales_publication FOR ml_user1 OPTION cd='on';
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.