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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| File | Required | Available | Enter the Excel file path.
You can click [Browse] button to launch file chooser and find the file. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings | Optional | Specify cells to be written to.
Each column can be operated with the following buttons.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings/Sheet name | Required | Available | Select or enter a sheet of the Excel file specified in [File]. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings/Cell address | Required | Available | Enter the cell address to be written to. Example: A1 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings/Cell name | Optional | Available | Enter the cell name. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings/Style | Required | Not available | Select whether or not to write type / format information.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings/Type | Required | Not available | Select a cell type.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cell settings/Format | Optional | Available | Select or enter a format.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Specify format/comment in Mapper to write | Optional | Not available | Select whether or not to set elements for writing format/comment in input schema.
|
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Execute transaction processing | Optional | Not available | Select whether or not to execute transaction processing.
Refer to “Transaction of file category adapters” for more details.
|
| 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. |
Refer to “Schema of table model type” for more details.
<?xml version="1.0" encoding="UTF-8"?>
<table>
<row>
<column>
<format></format>
</column>
<column>
<format></format>
</column>
:
</row>
</table>
| Element name | Attribute name | Description | Remarks |
|---|---|---|---|
| table | - | ||
| row | - | ||
| column | - | Shows the value to be written in the cell. |
|
| format | - | Shows the format/comment to be written in the cell. |
|
Refer to “Edit Schema” for more details.
| Component variable name | Description | Remarks |
|---|---|---|
| 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. |
|
Refer to “Property Reference” for more details.
| Format | Example |
|---|---|
| yyyy-MM-dd'T'HH:mm:ss.SSSZZ | 2007-05-10T15:32:12.708+0900 |
| yyyy-MM-dd'T'HH:mm:ss.SSS | 2007-05-10T15:32:12.708 |
| yyyy-MM-dd'T'HH:mm:ssZZ | 2007-05-10T15:32:12+0900 |
| yyyy-MM-dd'T'HH:mm:ss | 2007-05-10T15:32:12 |
| yyyy-MM-dd'T'HH:mm | 2007-05-10T15:32 |
| yyyy-MM | 2007-05 |
| yyyy/M/d K:m a | 2007/5/10 3:32 PM |
| yyyy/M/d H:m:s | 2007/05/10 15:32:12 |
| yyyy/M/d H:m | 2007/05/10 15:32 |
| yyyy/M/d | 2007/05/10 |
| Type of date format | Example | Remarks |
|---|---|---|
| [$-411]ge.m.d;@ | h13.3.14 | |
| [$-409]yyyy/m/d h:mm AM/PM;@ | 13/3/14 1:30 PM | When the destination cell contains any data, it can be written as date. |
Custom formats are not tested.
| Exception name | Cause | Solution |
|---|---|---|
| InputDataNotFoundException | [Input data] is not specified. | Specify [Input data] or draw a data flow. |
| InputDataReadException Failed to read a format from input data. |
A value entered in format element of input schema is invalid. | Input a value output from "Generate Excel Format" logic in Mapper, or do not input any value if not necessary. |
| InvalidPropertyConfigurationException
File path is not specified. |
[File] is not specified. | Specify [File]. |
| InvalidPropertyConfigurationException
Target cell is not specified. |
[Cell settings] is not specified. | Specify [Cell settings]. |
| InvalidPropertyConfigurationException
Sheet name is not specified. |
[Cell settings/Sheet name] is not specified. | Specify [Cell settings/Sheet name]. |
| InvalidPropertyConfigurationException
Cell address is not specified. |
[Cell settings/Cell address] is not specified. | Specify [Cell settings/Cell address]. |
| InvalidStartCellAddressException:
The specified cell address is invalid. |
The cell address entered in [Cell settings/Cell address] is invalid. | Check [Cell settings/Cell address] and enter a valid cell address. |
| FileIsDirectoryException | The path entered in [File] is directory. | Enter a file path in [File]. |
| IllegalFormatException | Input data or [Format] is invalid for [Type] specified in [Cell settings]. | Check the combination of type, input data, and format. |
| IllegalTargetWorkbookException | The specified workbook is in a state cannot be written to. | Another program might be using the file or the format of the workbook might be corrupted. |
| FileIsLockedException | The file specified in [File] is being locked. | Unlock it from Explorer or CLI. |
| java.io.FileNotFoundException
Some other process is using the file. |
The file specified in [File] is being used by some other process. | Make sure that it is not being used by some other process. |
| jxl.read.biff.PasswordException | A password to open is set in the Excel 2003 workbook specified in [File]. | Enter an Excel 2003 workbook in which a password to open is not set in [File]. |
| jxl.write.biff.RowsExceededException | The row number specified in [Cell address] exceeds the maximum value. | Check values of [Cell settings]. |
| jxl.read.biff.BiffException
Unable to recognize OLE stream |
The Excel 2003 workbook specified in [File] is in an invalid state. | Check the following.
|
| jxl.read.biff.BiffException
The file format is corrupt |
The Excel 2003 workbook specified in [File] might be corrupted. | Check the following.
|
| jxl.read.biff.BiffException
The input file was not found |
The Excel 2003 workbook specified in [File] is in an invalid state. | Check the following.
|
| ZipEntryBrokenException: The entry of the operating ZIP file is broken. |
The Excel workbook specified in [File] is in an invalid state. | Check the following.
|
| ZipEntryNotFoundException: Entry of the specified name does not exist in the zip file |
The Excel workbook specified in [File] is protected with password to open or is in an invalid state. | Check whether password to open is set to the Excel workbook specified in [File], and whether the file is corrupted. |