For information about using variables, refer to "variables".
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Enter the name on the script canvas. | |
| Input data | Required | Not available | Select the component on the script canvas. |
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| File | Required | Available | Enter the file path to write a fixed-length.
Click [Browse] button to activate the file Selectr and Select the file. |
|
| Format | Required | Not available | Select a file format definition that is fixed for global resources.
Refer to "Fixed-Length Write Wizard for details about how to configure the format.
|
| Item name | Description | Remarks |
|---|---|---|
| Preview | Start the previewer, display the contents of the file specified in [File]. |
|
| Item name | Required / Optional | Use of Variables | Description | Remarks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Encoding | Required | Available | Select or input write file encode.
Use only the canonical name supported by Java SE Runtime Environment 8 when specifying the encoding directly in the field. Refer to "Supported Encodings"(http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html) for details.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| New line code | Required | Not available | Select a new line code.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overwrite | Optional | Not available | If the specified file exists, Select whether to overwrite it or not.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Append | Optional | Not available | If the specified file exists, Select to overwrite it or append it to the end of the file.
|
|
| Item name | Required / Optional | Use of Variables | Description | Notes |
|---|---|---|---|---|
| Execute transaction processing | Required | Not available | Select whether to perform transaction processing.
Refer to "File Adapter Transaction" for 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. |
See "Schema of Table Model" for details regarding schema structure.
For any details, please refer to the 'Editing Schema'
For details on PSP, refer to "Parallel Stream Processing".
| Component variable name | Description | Remarks |
|---|---|---|
| count | Return the number of lines of written data. |
|
| message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
| message_code | Stores its corresponding message code of occured error. |
|
| message_level | Stores the severity of the corresponding message code of the occured error. |
|
| error_type | Stores the type of the occured error. |
|
| error_message | Stores the error message for the occured error. |
|
| error_trace | Stores stack trace of the occurred error. |
|
| Exception name | Cause | Solution |
|---|---|---|
| InputDataNotFoundException | [Input data] is not specified. | Specify the [Input data], or draw the data flow. |
| ResourceNotFoundException Resource definition could not be found.Name:[] |
The [Format] is not specified. | Specify the [Format]. |
| ResourceNotFoundException Resource definition could not be found.Name:[<Global Resource Name>] |
The resource definition specified in the [Format] is not found. | Make sure the global resource specified in the [Format]. |
| InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. | Specify the [<Property name>]. |
| FileIsDirectoryException | Path input in [File] is directory. | Input file path in [File]. |
| FileAlreadyExistedException | The file specified in [File] already exists. | Change the name of the file specified in the [File] or Check [Overwrite] in the [Write settings]. |
| FileIsLockedException | The file specified in [File] is locked. | Unlock it from Explorer or CLI. |
| ArrayIndexOutOfBoundsException | The field number of the column list specified in the [Format] may be bigger than the column number of input source XML data. | Please check the number of columns of data or column list or the number of fields of XML input source specified [Format]. |
| java.io.FileNotFoundException
Another processing is in use. |
File specified in [File] is being used by another process. | Please check whether it is used by other processing. |
| java.io.UnsupportedEncodingException | The encoding that is not supported is specified in [Encoding]. | Specify an encoding that is supported in Java SE Runtime Environment 8.
Refer to "Supported Encodings"(http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html) for details. |
| IllegalPaddingException
Padding character did not fit in the filed. |
As a result of padding applied to data, the total length of the data exceeded the length of the field. | Ensure the settings for padding characters and input data are correct. |
| java.lang.ArithmeticException
/ by zero |
Padding has failed as no padding character is defined. | Ensure the settings for padding characters and input data are correct. |