ml_set_sis_sync_state system procedure

Use this system procedure to record the MobiLink synchronization state into the ml_sis_sync_state system table.

Parameters
Item Parameter Description

1

remote_id

VARCHAR(128).

2

subscription_id

VARCHAR(255).

3

publication_name

VARCHAR(128).

4

user_name

VARCHAR(128).

5

last_upload

TIMESTAMP.

6

last_download

TIMESTAMP.

Remarks

Call the ml_set_sis_sync_state system procedure in the publication_nonblocking_download_ack event to allow users to create a request_cursor event that references the ml_sis_sync_state table.

For DB2 mainframe consolidated databases, this procedure is called ml_set_sis_state. See IBM DB2 mainframe server-initiated synchronization system procedure name conversions.

See also
Example

Specify a publication_nonblocking_download_ack event script with the following script to record the synchronization state:

CALL ml_set_sis_sync_state( 
    {ml s.remote_id},
    NULL,
    {ml s.publication_name},
    {ml s.username},
    NULL,
    {ml s.last_publication_download} 
);