Table of Contents

Search

  1. Preface
  2. Overview of the Server Manager Command Line Interface
  3. Usage Scenario: Using Server Manager CLI Commands to Run Replications
  4. Command Reference

Command Line Interface for the Server Manager

Command Line Interface for the Server Manager

import scn

import scn

Imports Sync Point values for mapped target tables from a .csv file into a configuration. The Sync Point values are then available to the Applier for target apply processing. You must have previously exported the Sync Point values for one or more target tables to a .csv file from the Data Replication Console or with the export scn command from the Server Manager CLI.
For DB2 and Microsoft SQL Server sources, the Sync Point value is an LSN.
For MySQL sources, the Sync Point value is a log coordinate that represents the binary log file index and offset position.
For Oracle sources, the Sync Point value is an SCN.
Before you import Sync Point values, review the .csv file that contains these values. If you do not want to import Sync Point values for some tables, delete the lines that correspond to the tables from the .csv file.

Syntax

import scn
configuration_name
[
file_name
] [-l]
The following short form is acceptable:
iscn
configuration_name
[
file_name
] [-l]

Parameters

The following table describes the command parameters:
Parameter
Description
configuration_name
The name of the configuration to which to import Sync Point values for mapped target tables.
file_name
The name of the .csv file that contains the comma-separated list of Sync Point values to import. This file was generated by the export scn command.
-l
Indicates that the .csv file is located on the computer that runs the Data Replication Console. Omit this option if the file is located on the Server Manager Main server system.

Example

The following example command imports the Sync Point values from the Ora2Ora.csv file that is located on the Data Replication Console system into the Ora2Ora_config configuration:
import scn Ora2Ora_config "C:\Ora2Ora.csv" -l

0 COMMENTS

We’d like to hear from you!