Causes Advantage to immediately process pending updates in the replication queue.
sp_ProcessReplicationQueues( ProcessOption, Integer )
This parameter specifies whether to process queues in the current connection or to process all known queues. If the value 1 is given, then only the replication queues in the current data dictionary are processed. If the value 2 is given, then all replication queues in all known dictionaries will be examined.
sp_ProcessReplicationQueues provides the capability to cause replication processing to occur immediately. This is useful if there are pending updates that have not been processed because the target database was not available at the time the source update was made. If target databases are available when updates are made at the source database, the updates will generally be processed without delay. If the target is offline or some other error prevents replication from occurring, Advantage will periodically attempt to process the replication queues. If you do not want to wait for that to occur, you can execute this stored procedure to make Advantage to immediately attempt the processing.
This functionality is also available from Advantage Data Architect. If you right-click on the SUBSCRIPTIONS object of a data dictionary in the Connection Repository, you can choose the Process Replication Queues option to force processing of the queues.
For more information, see Offline Targets.
EXECUTE PROCEDURE sp_ProcessReplicationQueues( 1 )