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

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

5.13.3 Examples of target Datareplicator definitions

Of the target Datareplicator definitions, this section explains by way of examples the import system definition and import environment definition. For an example of an import definition, see 5.13.4 Examples of source and target definitions.

The target Datareplicator provides templates for the target Datareplicator definitions. You can copy these templates under the $HDSPATH/ directory and edit and use them in your user environment. To use the templates in a UNIX system with the EUC code system, you must use the OS's stou command (for details about the stou command, see the applicable OS reference manual).

The templates for the target Datareplicator definitions are stored in the following directories:

The following table shows the filenames of the templates for target Datareplicator definitions.

Table 5-25 Filenames of the templates for target Datareplicator definitions

Definition name Filename Specification method
Import system definition hdsenv
  • The templates use the JIS8 or Shift JIS code system for comments.
  • All lines beginning with set are required operands.
  • All lines beginning with #set are optional operands.
  • A line beginning with set is a required operand.
  • A line beginning with #set is an optional operand.
  • The specification range and default are indicated as <<specification-range; default>>.
  • If an operand has a default value, the default value is indicated as the setting; otherwise, no value is indicated.
  • A ruler is provided, because the maximum length of an operand is 80 characters.
Import environment definition refenv
Import definition reffile
  • The template uses the JIS8 or Shift JIS code system for comments.
  • Because the entire import definition is optional, all definition examples are provided as comments. However, the semicolon (;) indicating the end of a definition is part of the actual coding, not a comment.
  • General rules are provided at the beginning.
Organization of this subsection
(1) Target system 1
(2) Target system 2

(1) Target system 1

(a) Example of an import system definition

The following figure shows an example of an import system definition for target system 1.

Figure 5-18 Example of an import system definition (target system 1)

[Figure]

(b) Example of an import environment definition

The following figure shows an example of an import environment definition for target system 1.

Figure 5-19 Example of an import environment definition (target system1)

[Figure]

(2) Target system 2

(a) Example of an import system definition

The following figure shows an example of an import system definition for target system 2.

Figure 5-20 Example of an import system definition (target system 2)

[Figure]

(b) Example of an import environment definition

The following figure shows an example of an import environment definition for target system 2.

Figure 5-21 Example of an import environment definition (target system2)

[Figure]