When you use the Create Synchronization Model Wizard, scripts are automatically added to the consolidated database when you deploy the model.
When you create synchronization scripts outside of Sybase Central Model mode, you must add them to MobiLink system tables in the consolidated database. In the case of SQL scripts, the entire script is saved in the MobiLink system table. In the case of Java or .NET scripts, the method name is registered in the system table. The method for storing scripts and method names is similar.
See MobiLink server system tables.
If you are using Sybase Central, you must add a synchronization version to the database before you can add individual scripts. See Adding a script version.
To add or delete a connection script (Sybase Central Admin mode)
In Sybase Central, choose Connections » Connect With MobiLink 11 and connect to the consolidated database.
Open the Connection Scripts folder.
To add a connection script, choose File » New » Connection Script.
The Create Connection Script Wizard appears. Follow the instructions in the wizard.
To delete a connection script, right-click the script name and select Delete.
The Confirm Delete window appears. Click Yes.
To add or delete a table script (Sybase Central Admin mode)
In Sybase Central, choose Connections » Connect With MobiLink 11 and connect to the consolidated database.
Open the Synchronized Tables folder.
Double-click the table for which you want to add a script.
To add a table script, choose File » New » Table Script and follow the instructions in the wizard.
or
To delete a table script, right-click the script name and select Delete. The Confirm Delete window appears. Click Yes.
To add or delete all types of scripts (system procedures)
You can add scripts to a consolidated database or delete scripts from a consolidated database using stored procedures that are installed when you set up your consolidated database.
For a description of the stored procedures that you can use to add or delete scripts, see:
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |