ml_set_listening system procedure

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.

4

ignore_tracking CHAR(1). Set to y to ignore tracking and stop it from overwriting manually entered data.

5

source VARCHAR(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 Adding support for device tracking.

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'
);