Adding and deleting scripts

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 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 a connection script (Sybase Central Admin mode)
  1. Choose Connections » Connect With MobiLink 11 and connect to the consolidated database.

  2. Right-click Connection Scripts and choose New » Connection Script.

  3. Follow the instructions in the Create Connection Script Wizard.

To delete a connection script (Sybase Central Admin mode)
  1. Choose Connections » Connect With MobiLink 11 and connect to the consolidated database.

  2. Expand Connection Scripts.

  3. Right-click a connection script and choose Delete.

  4. Click Yes.

To add a table script (Sybase Central Admin mode)
  1. Choose Connections » Connect With MobiLink 11 and connect to the consolidated database.

  2. Expand Synchronized Tables.

  3. Right-click the table and choose New » Table Script.

  4. Follow the instructions in the Create Table Script Wizard.

To delete a table script (Sybase Central Admin mode)
  1. Choose Connections » Connect With MobiLink 11 and connect to the consolidated database.

  2. Expand Synchronized Tables.

  3. Expand the table.

  4. Right-click the table script and choose Delete.

  5. Click Yes.

To add or delete all types of scripts (system procedures)

Direct inserts of scripts
Ignoring scripts