HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

6.1.2 Data linkage from a mainframe database to a HiRDB using SAM files

The following figure shows the procedure for handling data linkage from a mainframe database (PDMII E2 or RDB1 E2) to a HiRDB using SAM files.

Figure 6-2 Procedure for handling data linkage from a mainframe database to a HiRDB using SAM files

[Figure]

#
The order of steps 2 and 3 and the order of steps 5 and 6 can be reversed.
Organization of this subsection
(1) Initialize the Datareplicators (when starting data linkage for the first time)
(2) Start the target system
(3) Start the source system
(4) Execute data linkage processing
(5) Terminate the source system
(6) Terminate the target system

(1) Initialize the Datareplicators (when starting data linkage for the first time)

You must initialize the Datareplicators when you start data linkage for the first time after you have configured the environment. For details, see 6.2 Initialization procedure at the environment configuration stage.

(2) Start the target system

To start the target system:

  1. Start the target database (HiRDB).
  2. Start the data linkage product (Datareplicator) at the target system.

(3) Start the source system

To start the source system:

  1. Start the source database (PDM2 E2 or RDB1 E2).
  2. Start the file transfer program.

The program startup procedure at the source system depends on the product specifications.

(4) Execute data linkage processing

The source system uses a file transfer program to send a SAM file that contains update information. The SAM file is then stored in the target Datareplicator directory specified by the source system's file transfer program.

The target Datareplicator operator uses the hdssamqin command to store the update information from the SAM file into the import information queue file. When all update information has been stored in the import information queue file, the target system executes import processing.

(5) Terminate the source system

Terminate the source database (PDMII E2 or RDB1 E2), and then terminate the source system.

The program termination procedure at the source system depends on the product specifications. For details, see the applicable manual.

(6) Terminate the target system

Terminate the target system.

To terminate a target system:

  1. Terminate the data linkage product (Datareplicator) at the target system.
  2. Terminate the target database (HiRDB).

For details about target Datareplicator termination, see 6.6 Startup and termination of the target Datareplicator. For details about HiRDB termination, see the HiRDB Version 9 System Operation Guide.