> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-output-cp-main-page/options-hadoop-file-output-reuse/content-tab-hadoop-file-output-kettle.md).

# Content tab

![Content tab](/files/clqJ78X6xRyGvEDpcvyd)

The **Content** tab contains the following options for describing the content written to the output text file:

| Option                                 | Description                                                                                                                                                                                                     |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Append**                             | Append lines to the end of the specified file.                                                                                                                                                                  |
| **Separator**                          | Specify the character that separates the fields in a single line of text. Typically, it is a semicolon (;) or a tab. Click **Insert TAB** to place a tab in the **Separator** field.                            |
| **Enclosure**                          | Enclose fields with a pair of specified strings. It allows for separator characters in fields. This setting is optional and can be left blank.                                                                  |
| **Force the enclosure around fields?** | Force all field names to be enclosed with the character specified in the **Enclosure** property.                                                                                                                |
| **Header**                             | Indicate if the output text file has a header row (first line in the file).                                                                                                                                     |
| **Footer**                             | Indicate if the output text file has a footer row (last line in the file).                                                                                                                                      |
| **Format**                             | Specify the type of formatting to use. It can be either DOS or UNIX. UNIX files have lines separated by line feeds, while DOS files have lines separated by carriage returns and line feeds.                    |
| **Compression**                        | Specify the type of compression (ZIP or GZIP) to use when compressing the output. Only one file is placed in a single archive.                                                                                  |
| **Encoding**                           | Specify the text file encoding to use. Leave blank to use the default encoding on your system. To use Unicode, specify **UTF-8** or **UTF-16**. On first use, PDI searches your system for available encodings. |
| **Right pad fields**                   | Add spaces to the end of the fields (or removes characters at the end) until the length specified in the table under the **Fields** tab is reached.                                                             |
| **Fast data dump (no formatting)**     | Improve the performance when dumping large amounts of data to a text file by not including any formatting information.                                                                                          |
| **Split every ... rows**               | If the number `N` is larger than zero, split the output text file into multiple parts of `N` rows.                                                                                                              |
| **Add Ending line of file**            | Specify an alternate ending row to the output file.                                                                                                                                                             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-output-cp-main-page/options-hadoop-file-output-reuse/content-tab-hadoop-file-output-kettle.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
