Adding subscriptions for remote SQL Anywhere databases

A synchronization subscription links a particular MobiLink user with a publication. It can also carry other information needed for synchronization. For example, you can specify the address of the MobiLink server and other connection options. Values for a specific subscription override those set for individual MobiLink users.

NoteOverriding options in the wizard You can override the MobiLink server name and port set for the subscription and user in the MobiLink Synchronization for ASA wizard.

Synchronization subscriptions are required in MobiLink SQL Anywhere remote databases. Server logic is implemented through synchronization scripts, stored in the MobiLink system tables in the consolidated database.

A single SQL Anywhere database can synchronize with more than one MobiLink synchronization server. To allow synchronization with multiple servers, create different subscriptions for each server.

StepsTo add a subscription for a MobiLink user in Sybase Central:

  1. Connect to Sybase Central and open the MobiLink Synchronization Client folder as described in “Connecting to Sybase Central”.

  2. For Sybase Central 4.x, open the MobiLink Users folder, right-click the user for whom you want to add a subscription, and select Properties from the pop-up menu.

    For Sybase Central 5.x, open the Publications folder, select the publication for which you want to enter a subscription, select the Synchronization Subscriptions tab in the right pane of Sybase Central, then select File>New>Synchronization Subscription from the menu bar.

  3. For Sybase Central 4.x, click the Subscribe button on the Subscriptions page, select the Publication for which you want to add a subscription, and click OK.

    For Sybase Central 5.x, in the Create Synchronization Subscription wizard, select the user for whom you want to enter a subscription and click Finish.

StepsTo modify a subscription in Sybase Central:

  1. Connect to Sybase Central and open the MobiLink Synchronization Client folder as described in “Connecting to Sybase Central”.

  2. For Sybase Central 4.x, open the MobiLink Users folder, right-click the MobiLink user, select Properties from the pop-up menu, then on the Subscriptions page, select the subscription you want to change and click Advanced.

    For Sybase Central 5.x, open the MobiLink Users folder, double-click the name of the MobiLink user who owns the subscription you want to modify, then on the Synchronization Subscriptions tab, right-click the subscription you want to modify and select Properties from the pop-up menu.

  3. Change the properties as needed.

StepsTo delete a synchronization subscription in Sybase Central:

  1. Connect to Sybase Central and open the MobiLink Synchronization Client folder as described in “Connecting to Sybase Central”.

  2. For Sybase Central 4.x, open the MobiLink Users folder, right-click the MobiLink user, select Properties from the pop-up menu, the on the Subscriptions page, select the subscription you want to delete and click Unsubscribe.

    For Sybase Central 5.x, open the MobiLink Users folder, double-click the name of the MobiLink user who owns the subscription you want to delete, then on the Synchronization Subscriptions tab, right-click the subscription you want to delete and click Delete.

  3. Click Yes in the Confirm Delete dialog box.