> 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/9.3-data-integration/pdi-transformation-steps-reference-overview/s3-file-output-cp/options-s3-file-output/fields-tab.md).

# Fields tab

![Fields tab in S3 File Output](/files/ZY9Ed591Mu4xK9VRDVRU)

The **Fields** tab allows you to define the properties for the exported fields.

| Column                     | Description                                                                                                                                                                                                                                                                                                                                                                             |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                   | Specify the name of the field.                                                                                                                                                                                                                                                                                                                                                          |
| **Type**                   | Select the field's data type from the dropdown list or enter it manually.                                                                                                                                                                                                                                                                                                               |
| **Format**                 | Select the format mask (number type) from the dropdown list or enter it manually. See [Common Formats](/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/common-formats.md) for information on common valid date and numeric formats you can use in this step.                                                                                    |
| **Length**                 | <p>Specify the length of the field, according to the following field types:</p><ul><li><strong>Number</strong></li></ul><p>Total number of significant figures in a number</p><ul><li><strong>String</strong></li></ul><p>Total length of the string</p><ul><li><strong>Date</strong></li></ul><p>Length of printed output of the string (for example, four is a length for a year)</p> |
| **Precision**              | Specify the number of floating point digits for number-type fields.                                                                                                                                                                                                                                                                                                                     |
| **Currency**               | Specify the symbol used to represent currencies (for example, `$` or `€`).                                                                                                                                                                                                                                                                                                              |
| **Decimal**                | Specify the symbol used to represent a decimal point, either a dot `.` or a comma `,` (for example, `5,000.00` or `5.000,00`).                                                                                                                                                                                                                                                          |
| **Group**                  | Specify the method used to separate units of thousands in numbers of four digits or larger, either a dot `.` or a comma `,` (for example, `5,000` or `5.000`).                                                                                                                                                                                                                          |
| **Trim type**              | Select the trimming method to apply to a string, which truncates the field (**none**, **left**, **right**, **both**) before processing. Trimming only works when no field length is specified.                                                                                                                                                                                          |
| **Null**                   | Specify the string to insert into the output text file when the value of the field is null.                                                                                                                                                                                                                                                                                             |
| **Get Fields** (button)    | Click to retrieve a list of fields from the input stream.                                                                                                                                                                                                                                                                                                                               |
| **Minimal width** (button) | Click to minimize the field length by removing unnecessary characters. If selected, string fields will no longer be padded to their specified length.                                                                                                                                                                                                                                   |

See \[Understanding PDI data types and field metadata]\(../../../../Data%20Integration%20Perspective/Data%20Integration%20perspective%20in%20the%20PDI%20client/Advanced%20topics%20(PDI%20perspective)/Understanding%20PDI%20data%20types%20and%20field%20metadata.md) to maximize the efficiency of your transformation and job results.


---

# 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:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/s3-file-output-cp/options-s3-file-output/fields-tab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
