HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
This section explains the procedures for handling the files used with the target Datareplicator.
For details about the contents of the files, see 3.3.2 Files and processes used during import processing.
For details about the preparation of the files, see 4.7.2 Preparation of the files used with the target Datareplicator.
Note: Do not replace files, regardless of whether Datareplicator is running or stopped. If any of these files is replaced, Datareplicator might malfunction.
For details about how to handle the import system definition file, see 5.8.2 Modifying defined information.
For details about how to handle the import environment definition file, see 5.9.2 Modifying defined information.
For details about how to handle the import definition file, see 5.10.3 Modifying defined information.
The following explains how to handle the import information queue files.
When using a UNIX regular file or Windows file:
When using a UNIX character special file:
The following explains how to handle an import status file.
When using a UNIX regular file or Windows file:
When using a UNIX character special file:
The following explains how to handle the import master status file.
The import master status file is used to store execution results during initial start. It is created automatically when Datareplicator starts.
The following explains how to handle the import error information files.
To change the maximum size of the import error information files:
When an import error information file subject to data accumulation becomes full, file swapping occurs. Datareplicator re-creates the next import error information file so that it can be swapped in.
To save the contents of an import error information file before it is re-created:
When the import error information file being used for data accumulation becomes full, file swapping occurs. Datareplicator re-creates the next import error information file that is to be swapped in.
To output the contents of the import error information file to the standard output before the file is re-created:
The following figure shows an example of the output from an import error information file.
Figure 6-21 Example of the output from an import error information file
Datareplicator outputs information to the import error information files so that it can be used in the event of errors or to achieve automatic operation.
In the case of UNIX Datareplicator, this information is also output to the syslog file. To output information to the syslog file, you must specify true in the syslogout operand in the import system definition. The following table shows the output destinations for the contents of an import error information file.
Table 6-13 Output destinations of the contents of an import error information file
| Status of the import error information file | Output destination | |
|---|---|---|
| N/A | syslog file | Import error information file |
| Normal (output enabled) | If true | Y |
| Error (output disabled) | If true | -- |
Y: Output.
If true: Output if true is specified in the syslogout operand in the import system definition.
--: Not output.
You can use the hdstrcedit command to view and edit activity trace files (import trace files). For details about how to use the hdstrcedit command, see the hdstrcedit command in Chapter 7. Command Syntax.
The following explains how to handle an unimported information file.
To change the maximum size of an unimported information file:
When an unimported information file being used for data accumulation becomes full, file swapping occurs. Datareplicator re-creates the next unimported information file that is to be swapped in.
To save the contents of an unimported information file before the file is re-created:
The unimported information file that is subject to accumulation of information is swapped when it become full. A new unimported information file is re-created when this swapping occurs. If you want to send the contents of the unimported information file to the standard output before the file is re-created, follow the procedure below:
The following figure shows an example of the output from an unimported information file.
Figure 6-22 Example of output from an unimported information file
column-name=FUNC(update-information-value)
column-name=ARRAY[update-information-value,update-information-value, ...,update-information-value]
column-name[element-number]=update-information-value
column-name=column-name||*BLOB(data-length-in-bytes)*
column-name=column-name||*BINARY(data-length-in-bytes)*
The following explains how to handle a command log file.
The command log files contain a record of when Datareplicator commands were executed. The command log files are created automatically when Datareplicator starts. You can view a command log file at any time to check the execution history of commands. For details about the information that is output to the command log file, see Overview of commands in 7. Command Syntax.
The following figure shows an example of the contents of a command log file.
Figure 6-23 Example of command log file contents
The following explains how to handle the update information definition file.
You can modify defined information before executing the hdssamqin command regardless of the target Datareplicator's status.
To modify defined information:
If the previous command has not terminated normally, do not modify the defined information. If you have modified defined information in such a case, execute the hdssamqin command with the -c option specified.
Transfer a SAM file created at a mainframe system that uses SAM files to the target Datareplicator or to a system that supports the update information input command (hdssamqin).
The following explains how to handle an unextracted data storage file.
If data has been stored in an unextracted data storage file, Datareplicator issues a message to that effect when execution of the hdssamqin command finishes. When this message is output, check the contents of the file.
An unextracted data storage file is created each time the hdssamqin command is executed. To save the file contents, use an OS command to save the contents under a different filename before executing the next hdssamqin command.
The following figure shows an example of the output from an unextracted data storage file.
Figure 6-24 Example of output from an unextracted data storage file
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.