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

SQL Anywhere 10.0.1 » MobiLink - Server-Initiated Synchronization » Server-Initiated Synchronization System Procedures

ml_set_device_address Next Page

ml_set_listening


Use this system procedure to add or alter mappings between MobiLink users and remote devices when you are manually setting up device tracking. It adds or updates a row in the ml_listening table.

Parameters

Item

Parameter

Description

1

ml_user

VARCHAR(128). MobiLink user name.

2

device

VARCHAR(255). Existing device name.

3

listening

CHAR(1). Set to y to activate this record to be used for DeviceTracker addressing.

5ignore_trackingCHAR(1). Set to y to ignore tracking and stop it from overwriting manually entered data.
6sourceVARCHAR(255). Optional remarks on the source of this record.
Remarks

The system procedures ml_set_device, ml_set_device_address, and ml_set_listening are used to override automatic device tracking by changing information in the MobiLink system tables ml_device, ml_device_address, and ml_listening. For example, if some of your remote devices are Palms you may want to use automatic device tracking but manually insert data for the Palm devices.

This system procedure is useful only if you are manually setting up device tracking.

See Using device tracking with Listeners that don't support it.

See also
Example

For each remote database, add a recipient record for a device. This maps the device to the MobiLink user name.

CALL ml_set_listening(
  'myULDB',
  'myFirstTreo180',
  'y',
  'y',
  'manually entered by administrator' );