HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
An update information field definition defines the name of update information to be sent from the source system and the name of each field. You can omit the update information field definition if all fields in the update information correspond exactly to the column names specified with the load statement in the import table definition without having to resort the fields. In this case, omit the field names and specify an asterisk in the load statement of the import table definition. If the asterisk (*) is specified, Datareplicator ignores the update information field definition.
You can specify only one update information field definition per unit of update information.
[{{ format update-information-name
name field-name
[{ const initial-value|by column-data-editing-UOC-function-
identifier [nocodecnv]|[nocodecnv] }]
[{{ name field-name
[{ const initial-value|by column-data-editing-UOC-function-
identifier [nocodecnv]|[nocodecnv] }]
...}}]
}} ...]
Table 5-17 Literals permitted in the const clause
| Literal | Column attribute | Description | Specification | Imported data |
|---|---|---|---|---|
| Character string literal#1 | CHARACTER | Character string enclosed in single quotation marks (') | Example: 'abc' | Example: abc |
| Japanese-language character string literal#1 | NCHAR | Japanese character string enclosed in single quotation marks (') | Example: |
Example: |
| Exact numeric literal#2 or unsigned integer#2 | INTEGER, SMALLINT, DECIMAL, FLOAT, SMALLFLT | Character string consisting of sign (+, -), numeric characters, and decimal point | Example: -1.23 | Example: -1.23 |
| null literal | #3 | Literal indicating the null value | null | null value |
| Import type | CHAR | Literal indicating the update type of the import processing | reflect_kind | #4 |
| Import date literal | DATE | Literal indicting the import date | reflect_date | Example: 19990328#5 |
| Import time literal | TIME | Literal indicating the import time | reflect_time | Example: 221530#6 |
| Import time stamp literal | TIMESTAMP | Literal indicating the import time stamp | reflect_timestamp | Example: 19990328221530#7 |
| Extraction date literal | DATE | Literal indicating the extraction date | extract_date | Example: 19990328#5 |
| Extraction time literal | TIME | Literal indicating the extraction time | extract_time | Example: 214016#6 |
| Extraction time stamp literal | TIMESTAMP | Literal indicating the extraction time stamp | extract_timestamp | Example: 19990328214016#7 |
You can specify only the null literal in repetition columns and abstract data type columns. If you specify any other literal, a data compatibility error occurs at HiRDB during import processing.
#1: Specify a maximum of 30 bytes.
#2: Specify a maximum of 29 decimal digits.
#3: All column attributes.
#4: One of the following four types is imported, depending on the update type of the import processing:
#5: The import date and extraction date are imported in the format yyyymmdd.
#6: The import time and extraction time are imported in the format hhmmss.
#7: The import time stamp and extraction time stamp are imported in the format year-month-date-hour-minute-second (for the second, the number of decimal places can be set at 0, 2, 4, or 6).
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.