Refer to "Variable-length text file" for details about variable-length files.
| Screen Element Number | Name | Description | Remarks |
|---|---|---|---|
| (1) | Structure definition | Define structures of a variable length file to read. This adapter reads a variable length file by following the definition. |
|
| (2) | Column list | Define structures of the output data. Data only defined in the structure definition is read. |
|
| (3) | Group |
|
|
| (4) | Record |
|
|
| (5) | Field |
|
|
| (6) | Remove(Structure definition) | Delete the element selected in the tree of the [Structure Definition]. |
|
| (7) | Edit | Show the definition dialog of the element selected in the tree of the [Structure definition]. |
|
| (8) | Add | Add an element to the [Column list] selected in the tree of the [Structure definition]. | |
| (9) | Remove(Column list) | Delete the element selected in the tree of the [Column list]. |
|
| (10) | Up | Move up the order of the element selected in the tree of the [Column list]. | |
| (11) | Down | Move down the order of the element selected in the tree of the [Column list]. |
| Item name | Required / Optional | Description | Remarks |
|---|---|---|---|
| Group name | Required | Enter a name of the group. | |
| Occurrence | Optional | Enter occurrence of the group. |
|
| Omittable | Optional | Select whether to omit the [Occurrence].
|
|
| Unlimited | Optional | Select whether to set unlimited to the [Occurrence].
|
| Item name | Required / Optional | Description | Remarks |
|---|---|---|---|
| Record name | Required | Enter a name of the record. | |
| Occurrence | Optional | Enter occurrence of the record. |
|
| Omittable | Optional | Select whether to omit the [Occurrence].
|
|
| Unlimited | Optional | Select whether to set unlimited to the [Occurrence].
|
| Item name | Required / Optional | Description | Remarks | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Field name | Required | Enter a name of the field. | |||||||||||||||||||||||||||||||||||||
| Field type | Required | Select a type of the field. Available characters are as follows.
|
|||||||||||||||||||||||||||||||||||||
| Tag | Optional | Enter tag (record identification code). |
|
||||||||||||||||||||||||||||||||||||
| Date format | Optional | Select or enter a date format.
|
|
}Only fields can be added to the column list.
When a filed is selected and added to the column list, the last selected field will be added to the [Column list].
When a group or a record is selected and added to the column list, fields in the group or record will be added to the column list.
In the following cases, the order of the field added to the list columns can not be guaranteed.
Once structure definition file is created, it can be used in both read and write process.
| Columns | Type | Character that can be specified | Required / Optional | Remarks |
|---|---|---|---|---|
| 1 | Prefix | GROUP or G | Required |
|
| 2 | Group name | Any string | Required | |
| 3 | Occurrence | Number of 0 to 2147483647 | Optional |
|
| 4 | Required | true or false | Optional |
|
|
=> |
|
| Columns | Type | Character that can be specified | Required / Optional | Remarks |
|---|---|---|---|---|
| 1 | Prefix | RECORD or R | Required |
|
| 2 | Record name | Any string | Required | |
| 3 | Occurrence | Number of 0 to 2147483647 | Optional |
|
| 4 | Required | true or false | Optional |
|
|
=> |
|
| Columns | Type | Character that can be specified | Required / Optional | Remarks | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Prefix | FIELD or F | Required |
|
||||||||||
| 2 | Field name | Any string | Required | |||||||||||
| 3 | Type | Each type of character that can be specified is as follows.
|
Required |
|
||||||||||
| 4 | Type setting | Tag or date format | Optional |
|
||||||||||
| 5 | Output | true or false | Optional |
|
|
=> |
|
Specify the absolute path of the DataSpider file system as the file path.
Constrained characters of DataSpider File System cannot be used except for path separator "/".
Click [Browse] button to activate the file Selectr and Select the file.
Click [Preview] button to display the contents of the specified in file.
|
<= field output to column list <= field output to column list |
|
<= field output to column list <= field output to column list |
Specify the absolute path of the DataSpider file system as the file path.
Constrained Characters of DataSpider File System except for path separator "/" cannot be used.
Click [Browse] button to activate the file Selectr and Select the file.
Click [Preview] button to display the contents of the specified in file.
If Structure definition already exists, an alert box appears to check whether to overwrite.
|
GROUP,A group,,false RECORD,A record,,false |
|
<= A record becomes the child record of group B. |