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

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

3.8.4 Event detection timing and action

This subsection explains the event detection timing and the action taken by the extraction or import facility when an event is detected.

Organization of this subsection
(1) Event detection timing
(2) Action when an event is detected

(1) Event detection timing

The following figure shows the event detection timing and the import processing switching timing.

Figure 3-48 Event detection timing

[Figure]

#1
The KFRB02036-I message is output.

#2
The KFRB03006-I or KFRB03211-I message is output.

#3
Detected by the hdsstop command execution.

(2) Action when an event is detected

When an event is detected, the extraction or import facility executes a corresponding process. The following table explains the actions of the extraction or import facility's processes for the various events.

Table 3-26 Extraction or import facility's actions for event processes

Type of event Type of process
TX process Import master process RX process Import definition server process Import process Synchroni-zation managing process
Event to reset the data-transmission count Resets the transmission data count and resumes processing. -- -- -- -- --
Synchronous event -- -- -- -- Commits all import processes that belong to the same synchronous import group. Synchronizes import processes that belong to the synchronous import group.
Transaction-based import event -- -- -- Restarts the import process in trn mode. Outputs a message and terminates the process (termination mode: event termination). --
Table-based import event -- -- -- Restarts the import process in tbl mode. Outputs a message and terminates the process (termination mode: event termination). --
Transaction-based import restart event -- Restarts the import definition server process (if it is already active, outputs an error message). Reports to the import master process. Restarts the import process in the trn mode, and then starts all import processes by detecting this event code, outputs a message, and resumes processing. Outputs a message and resumes processing. --
Table-based import restart event -- Restarts the import definition server process (if it is already active, outputs an error message). Reports to the import master process. Restarts the import process in the tbl mode, and then starts all import processes by detecting this event code, outputs a message, and resumes processing. Outputs a message and resumes processing. --
Stop event -- -- -- Waits for termination of events for all import processes; when all import processes have been terminated by events, outputs a message and terminates processing. Outputs a message and terminates the process (termination mode: event termination). --
Event to reset the import processing count -- -- -- -- Resets the import processing count and resumes processing. --
Connection-based termination event -- -- -- When all import processes detect this event code, outputs a message and resumes processing. Outputs a message and resumes processing. --

Legend:
TX: Transmission
RX: Reception
--: No action is taken.
trn mode: Transaction-based import method
tbl mode: Table-based import method

Note:
When an event is detected, Datareplicator executes synchronization point processing on the target database, regardless of the type of event.