Write Fixed-Length File
Operation name
Write Fixed-Length File
Function overview
Writes the input data to a text file in fixed-length format.
Data model
The data model of this component is table model type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Input data |
Required |
Not available |
Select a component on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
File |
Required |
Available |
Enter the file path to a fixed-length file to be written to. The Browse button launches a file chooser that allows you to select a file. |
Note
|
Format |
Required |
Not available |
Select a format definition for fixed-length files registered in data format resources. = Remarks =
For how to configure settings, refer to Fixed-Length Write Wizard.
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Preview |
The previewer is started, and the contents of the file specified in File is displayed. |
|
Fixed-Length Write Wizard |
The Fixed-Length Write Wizard is launched. For details, refer to Fixed-Length Write Wizard. |
|
Write settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Encoding |
Required |
Available |
Select or enter an encoding for the file to write. When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. = Remarks =
For details, refer to "Supported Encodings" (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
New line code |
Required |
Not available |
Select a newline code.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overwrite |
Optional |
Not available |
Select whether or not to overwrite when the specified file exists.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Append |
Optional |
Not available |
Select whether to append data to the end of the file or to overwrite the file if the specified file exists.
|
|
Transaction
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Execute transaction processing |
Required |
Not available |
Select whether or not to execute transaction processing.
= Remarks =
For details, refer to Transactions for the connectors in the File category. |
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Schemas
Input schema
The number of columns varies depending on the Format settings.
For schema structure, refer to Table model type .
Output schema
None.
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Transaction
Transaction is supported.
Transaction is enabled only when Execute transaction processing of Transaction is selected.
Parallel Stream Processing
PSP is supported.
For details on PSP, refer to Parallel Stream Processing.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of written data records is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error 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 trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|