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

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

5.11.1 Structure and format

Organization of this subsection
(1) Structure
(2) Format

(1) Structure

You must specify an operating environment definition statement, extraction redefinition statements, and extraction statements, in this order. The figure below shows the structure of an update information definition. The table below shows the contents of an update information definition and the permitted number of specifications.

Figure 5-11 Structure of an update information definition

[Figure]

Table 5-22 Contents of an update information definition and the permitted number of specifications

Definition name Definition statement Permitted number of specifications Description
Operating environment definition statement filetype statement 1 Specifies the file type subject to processing.
Extraction redefinition statement restruct statement 0-4096 To redefine multiple fields as one field or one field as multiple fields, this statement specifies the redefinition field name, data start position, field attribute, and length for each dataset.
Extraction statement extract statement 1-4096 Specifies the DBM, dataset, field, update information name, and mapping key subject to extraction processing.

(2) Format

/* Operating environment definition statement */
filetype PDM
 
/* Extraction redefinition statement */
[{{ restruct DBM-name.dataset-name
    {{ field redefined-field-name [position data-start-position]
       attr redefined-field-attribute(length)[not null]}} ...}} ...]
 
/* Extraction statement */
{{ extract DBM-name.dataset-name
    ({ { field-name|redefined-field-name }
    [ {{,{ field-name|redefined-field-name }}} ...]|* })
  to update-information-name
  key({ field-name|redefined-field-name }
  [{{ ,{ field-name|redefined-field-name }}} ...])}} ...
;