Returns the current value of the LTM Locator maintained by Replication Agent, requests an LTM Locator value from the primary SAP Replication Server, sets the value of the LTM Locator maintained by Replication Agent to zero, or moves the truncation point to the end of the current transaction log.
ra_locator [ { update | zero | move_truncpt } ]
ra_locator
Locator --------------------------------------------------- 000000005200000000000000527FFFFFFFFFFFFFFF0022FB3B (1 row affected)
ra_locator update
This command requests a new LTM Locator value from the primary SAP Replication Server.
ra_locator zero
This command sets the value of the LTM Locator maintained by Replication Agent to all zeros.
ra_locator move_truncpt
This command moves the transaction log truncation point to the end of the current transaction log.
When you invoke ra_locator with no option, it returns the current value of the LTM Locator maintained by the Replication Agent instance. For UDB, Replication Agent stores the value of the LTM Locator in a table in the primary database; for Oracle and Microsoft SQL Server this value is stored in the RASD.
When you invoke ra_locator with the update keyword, it requests a new LTM Locator value from the primary SAP Replication Server, and Replication Agent saves the value.
When you invoke ra_locator with the zero keyword, it sets the value of the LTM Locator maintained by Replication Agent to zero.
The LTM Locator contains information that Replication Agent uses to determine where to start reading the transaction log.
For more information about the format of the origin queue ID, see the section for your specific primary data server in the Replication Agent Primary Database Guide.
The ra_locator command with the zero or the move_truncpt keyword is valid only when the Replication Agent instance is in the Admin or Replication Down state.
Without the zero or the move_truncpt keyword, the ra_locator command is valid in any state.
If the Replication Agent has not been initialized, the ra_locator command returns an error message.