For details on use of variables, refer to “Variables”.
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Enter the name to show on the script canvas. | |
| Input data | Required | Not available | Select a component on the script canvas. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Use global resource for data check condition | Required | Not available | Select whether or not to use global resource for data check condition.
|
|
| Data check condition definition | Required | Not available | Select a data check condition definition registered in global resources.
Items that can be set in global resource are same as that of [Data check condition list].
|
|
| Data check condition list | Optional | - | Specify conditions with which input data columns will be checked.
Each column can be operated with the following buttons.
|
|
| Data check condition list/Column number | Required | Available | Enter a column number of input data to be a target. | |
| Data check condition list/Required | Optional | Not available | Select whether or not to set [Column number] data as a required field.
|
|
| Data check condition list/Type | Required | Not available | Select in what type to check the data of [Column number].
|
|
| Data check condition list/Minimum | Optional | Available | Enter the minimum number of digits, minimum bytes, or value, to allow for [Column number] data. |
|
| Data check condition list/Maximum | Optional | Available | Enter the maximum number of digits, maximum bytes, or value, to allow for [Column number] data. |
|
| Data check condition list/Option | Optional | Available | Specify the option to check [Column number] data with. |
|
| Data check condition list/Regular expression | Optional | Available | Specify the regular expression to check [Column number] data with. |
|
| Output record | Required | Not available | Select a record type to be output.
|
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Evaluation method of multiple conditions | Required | Not available | Set how to evaluate multiple data check conditions.
When there are multiple data check conditions for the same column number in [Data check condition list], you can set the evaluation method for that using [Specify evaluation method of multiple conditions for same column number] and [Evaluation method for same column number].
|
|
| Specify evaluation method of multiple conditions for same column number | Optional | Not available | Select whether or not to specify how to evaluate multiple data check conditions for the same column number.
|
|
| Evaluation method for same column number | Optional | Not available | Set how to evaluate multiple data check conditions for same column number.
|
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Data processing method | Required | Not available | Select data processing method.
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
In option items, type specific settings can be assigned in “key=value” format. When setting multiple keys, delimit them using “,” (comma).
Options that can be set for each type are as follows.
| Corresponding type | Key | Meaning | Value | Remarks |
|---|---|---|---|---|
| String (byte count) | CS | Set the encoding to be used in calculation of byte count. |
Specify the encoding supported in Java SE Runtime Environment 8.
For more details, refer to “Supported Encodings” (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html).
|
|
| Integer | AF | Set whether to allow full-width digits. |
|
|
| Decimal | I | Set the maximum number of digits for the integer part. | Allowed values are 1-2147483647. | |
| Decimal | D | Set the maximum number of digits for the fractional part. | Allowed values are 1-2147483647. | |
| Date/Time | DF | Set the date format. |
Date format supported in java.text.SimpleDateFormat can be set. For more details on SimpleDateFormat, refer to “Java(TM) Platform, Standard Edition 8 API Specification”(http://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html). |
Refer to “Schema of table model type” for more details.
Refer to “Edit Schema” for more details.
| Component variable name | Description | Remarks |
|---|---|---|
| count | The number of all read records is stored. |
|
| matched_count | The number of records matched the data check conditions is stored. |
|
| unmatched_count | The number of records that did not match the data check conditions is stored. |
|
| message_category | When an error occurs, the corresponding message code's category is stored. |
|
| message_code | When an error occurs, the corresponding message code is stored. |
|
| message_level | When an error occurs, the corresponding message code's severity is stored. |
|
| error_type | When an error occurs, the error type is stored. |
|
| error_message | When an error occurs, the error message is stored. |
|
| error_trace | When an error occurs, the error's trace information is stored. |
|
| Exception name | Cause | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition is not found. Name: [] |
[Data check condition definition] is not specified. | Specify [Data check condition definition]. |
| ResourceNotFoundException Resource definition is not found. Name: [<global resource name>] |
The resource definition selected in [Data check condition definition] is not found. | Check the global resource specified in [Data check condition definition]. |
| InvalidPropertyConfigurationException
The value of [<item name>] in row [<row number>] of the check condition list is incorrect. |
Check conditions are not specified properly. | Confirm the check conditions. |
| InvalidPropertyConfigurationException
Value is not entered in [Column number] specified in row [<row number>] of the check condition list. |
[Column number] of check condition list is not entered. | Enter [Column number]. |
| InvalidPropertyConfigurationException
The value of [Column number] specified in row [<row number>] of the check condition list exceeds the number of columns of input data [<the number>]. |
[Column number] of check condition list is not specified properly. | For [Column number], specify a number not larger than the number of columns in input data. |