# cFlatPack

Processes fixed width or delimited files or messages using the [FlatPack library](http://flatpack.sourceforge.net/)

For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.

## cFlatPack Standard properties

These properties are used to configure cFlatPack running in the Standard Job framework.

The Standard cFlatPack component belongs to the Transformation family.

## Basic settings

| Properties | Description |
| --- | --- |
| When using as a start component in a route: |  |
| PZMAP FileType | The PZMAP file is the Flatpack configuration file that is used to configure the<br>structure of the input file. For more information about the PZMAP<br>file configuration, see the website http://flatpack.sourceforge.net/documentation/index.html.<br><br>Select the PZMAP file type from Filename and Repository Resource.<br><br><br>Filename: The PZMAP file is stored in the local file<br>system.<br><br><br>Repository Resource: The PZMAP file is stored in the<br>Resources node of the Repository. |
| PZMAP Filename | This option appears when Filename is selected in the<br>PZMAP FileType list. Enter or<br>browse to the path to the PZMAP file. |
| PZMAP Repository Resource | This option appears when Repository<br>Resource is selected in the PZMAP FileType list. Click [...] and select the PZMAP file under the Resources node in the dialog box. |
| Fixed Positional file | Select this option if the file is a fixed format file. |
| Delimited file | Select this option if the file is delimited.<br><br><br>Text Qualifier: Specify the text<br>qualifier for delimited files. The default value is<br>".<br><br><br>Text Delimiter: Specify the<br>character delimiter for delimited files. The default value is<br>,. |
| Split Rows | Select this check box to process each row one by one. |
| Ignore First Record | Select this check box to ignore the first line for delimited files<br>(for the column headers). This option is only available if the<br>Delimited file option is<br>selected. |
| Allow Short Lines | Select this check box to allow lines shorter than expected by the PZMAP file. |
| Ignore Extra Columns | Select this check box to allow lines longer than expected by the PZMAP file and ignore<br>the extra characters. |
| When using as a middle or end component in a Route: |  |
| Use Exist cFlatPack | Click [...] and select the cFlatPack component to be used as the file parser in<br>the dialog box. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | cFlatPack can be a start, middle, or end component in<br>a Route. |
| Limitation | n/a |

**Related concepts**

* [Parsing delimited file using the cFlatPack component](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-flatpack/cflatpack-cfile-cbean-clog-parsing-delimited-file-using-cflatpack-component)