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

SQL Anywhere 11.0.1 » MobiLink - Server Administration » MobiLink Events » Writing synchronization scripts » Adding and deleting scripts


Ignoring scripts

If an upload stream contains insert, update, or delete data for a table that has no upload_insert, upload_update, and upload_delete script in the consolidated database, or if there is no download script (download_cursor and download_delete_cursor scripts) for the table, then the MobiLink server would either:

The warning messages can be suppressed with the -zwd MobiLink server command option, however, this option suppresses the warning messages for all the synchronization tables.

Now, the MobiLink server treats any connection and table scripts that contain the prefix --{ml_ignore} differently. The MobiLink server recognizes these scripts as intentionally ignored scripts. More precisely, if an upload stream contains insert, update, or delete data for a synchronization table that has upload_insert, upload_update, or upload_delete script with the prefix --{ml_ignore}, the MobiLink server does not execute these scripts against the consolidated database and continues the synchronization without showing any error or warning messages, regardless of whether the server was started with or without the -fr option.

This logic will apply to downloads too. However, the MobiLink server aborts the synchronization or shows warning messages if the upload stream contains delete (insert or update) data for a synchronization table that has no intentionally ignored or actual upload_delete (upload_insert or upload_update) scripts, even if there are intentionally ignored or actual upload_insert and upload_update scripts for this table.