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

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

hdsrfctl (control import processing)

Function

The following are the functions of the hdsrfctl command:

Format 1
hdsrfctl -d data-linkage-identifier -m { trn|tbl|spd|immediate }
       [ -c import-processing-commit-interval ]

Format 2
hdsrfctl -g synchronous-import-group-name
       -m { start|immediate }

Options (Format 1)

-d data-linkage-identifier
Specify the data linkage identifier of the source system that corresponds to the import processing that is to be subject to the command's processing. Specifying ** for the data linkage identifier will result in an invalid-argument error.
For details about the data linkage identifier when the source database is a HiRDB, see 5.2 Extraction system definition. For details about the data linkage identifier when the source database is a mainframe database, see the VOS3 XDM/DS manual.

-m { trn|tbl|spd|immediate }
trn
Execute import processing using the transaction-based import method.
tbl
Execute import processing using a table-based import method (table-based partitioning method, key range-based partitioning method, or hash partitioning method).
spd
Terminate import processing when an event issued from the source system is detected during import processing after the command executes.
immediate
Terminate import processing when the import processing that was underway when the command was executed terminates. If update information is being received when the command is executed, import processing terminates when Datareplicator finishes storing the update information in the import information queue file.

-c import-processing-commit-interval
~ <unsigned integer> <<value of the cmtintvl operand in the import environment definition>> ((1-32767))
Specify the interval at which the import processing subject to the command's processing is to issue commit to the target HiRDB. This value is applied to import processing that starts after execution of the hdsrfctl command. If you execute the hdsstop command or re-execute the hdsrfctl command, Datareplicator will ignore the previous value specified in the -c option.
If the hdsrfctl command with the -c option specified results in an error while restarting import processing or changing the commit interval, the specified commit interval will be ignored.

Options (Format 2)

-g synchronous-import-group-name
Specify the synchronous import group to be controlled.

-m { start|immediate }
start
Starts the synchronous import group. If the synchronous import group was disabled during the previous termination, it is started in disabled status.
immediate
Terminates import processing. The termination methods are as follows:
[Figure] If a synchronous event is detected during transaction processing, the command commits the transaction, and then terminates the import processing.
[Figure] If the end of the import information queue file is detected during transaction processing, the command rolls back the transaction, and then terminates the import processing.
[Figure] If no transaction processing is underway, the command terminates the import processing immediately.

Rules