The Replication Agent uses the value of the LTM locator received from the primary Replication Server to determine where to begin looking in the DB2 transaction log for transactions to be sent to the Replication Server.
When the value of the LTM locator received from Replication Server and the LTM locator stored by Replication Agent are both zero (0), the Replication Agent positions the Log Reader component at the end of the DB2 transaction log.
When the Replication Agent Log Reader component goes to the Replicating state, it does so asynchronously. When you receive a prompt after invoking the resume command, the Log Reader component may not be finished getting into the Replicating state and positioning itself at the end of the log. If you mark a table immediately after the prompt returns from the resume command, the record containing the mark information may be written to the log before the Log Reader component has positioned itself. In that case, the Log Reader component misses that record and does not replicate any subsequent data for that table. To avoid this problem, wait a short time after invoking the resume command before you mark a table for replication.
If you mark a table for replication, insert data into the table, and then resume replication, the data is not replicated if the LTM locators for Replication Agent and Replication Server are zero (as they would be at the beginning of replication). This problem occurs because when both LTM locators are zero, resuming replication repositions the Log Reader component at the end of the log, skipping over any previous transactions. To avoid this problem when the LTM locators for Replication Agent and Replication Server are zero, mark the table for replication after you have issued the resume command.
When both the value of the LTM locator received from Replication Server and the LTM locator stored by Replication Agent are not zero, Replication Agent uses the LTM locator value it received from Replication Server to determine the starting position of the oldest open transaction and positions the Log Reader component at that location in the DB2 transaction log.
When the value of the LTM locator received from Replication Server is 0 (zero) and the value of the LTM locator stored by Replication Agent is not zero, Replication Agent uses the LTM locator value it has stored to determine the starting position of the oldest open transaction and positions the Log Reader component at that location in the DB2 transaction log.