Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Write Fixed-width Task

Write Fixed-width Task

The Write Fixed-width task allows you to specify file and data parameters for translating a RowSet variable into a fixed-width file
Field
Definition
Basic Tab
Label
Specify a label for this task.
Input RowSet Variable
Specify the name of a variable of type RowSet which contains data to write to a file. For example, ${variableName}
Output File
Specify the path and file name of a single file to write.
When Output File Exists
Specify the action to take when the output file already exists. The default value is 'rename' which changes the file name to a new name so the existing file remains untouched.
Default Value: rename
Advanced Tab
Maximum Rows
Specify the maximum number of rows to be written to the output file. When this limit is reached, the remaining rows in the input RowSet will be silently skipped.
Encoding
Specify the character encoding of the output file.
Default Value: The platform's default file encoding.
Include Column Headings
Specify whether or not to include column headings in fixed-width file.
Default Value: true
Record Delimiter
Specify the character(s) to use for separating each record (or row) in the generated fixed-width file.
Default Value: CRLF
User Friendly Output
Specify whether or not the generated output should be user-friendly. When this is set to true, the generated file will contain a separator line between each column.
Default Value: false
Output Variables Tab
Output File Variable
If desired, specify the name of a variable which will contain the output file. The variable will be of type File and may be used in subsequent tasks that accept File or File List input variables. The variable will be created if it does not exist.
Control Tab
Version
The version of this task.
Log Level
Specify the level of logging to use while executing this task. Valid options are - silent, normal, verbose and debug.
Default Value: Inherited from parent Module
Execute Only If
Specify a condition that must be satisfied before this task can be executed. This task will be skipped if the specified condition is not met.
Disabled
Whether or not this task is disabled.
Default Value: false
On Error Tab
On Error
Specify the action to take when this task errors out. Valid options are - abort, continue, call:[module] and setVariable:[name]=[value]. For call:[module] replace [module] with the name of the module in the project (e.g. call:ErrorModule). For setVariable:[name]=[value] replace [name] with a variable name and [value] with the variable value (e.g. setVariable:error=true).
Default Value: Inherited from parent Module

0 COMMENTS

We’d like to hear from you!