--- title: "Extended (Phase 2)" slug: "profiles--tab-3-advanced" updated: 2026-09-24T09:43:17Z published: 2026-09-24T09:43:17Z canonical: "docs.lobstersoftware.com/profiles--tab-3-advanced" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Extended (Phase 2) ## Settings ![images/download/attachments/164332959/extended-version-1-modificationdate-1746677786073-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/extended-version-1-modificationdate-1746677786073-api-v2.png) (1) **Trim SQL values in** Phase 4**:** See "Phase 4". (2) **Continue with next record on SQL error:** See "Phase 4". (3) **Write data to disk temporarily**, **On memory use of:** See [Swapping](/v1/docs/en/intro-profiles-phase-2-parsing-swapping). (4) **Skip record on error:** See the section below with the same name. (5) **Empty value of a field is considered not existing:** This checkbox applies to source structure fields. If the checkbox is not set, fields without a value will be filled with an empty string or the default value. If the checkbox is set, the empty flag will be set for fields without a value. (6) **Skip empty fields (no memory usage):** This checkbox applies to target structure fields. If this checkbox is set, no internal data objects are generated for empty fields. This can save memory if empty fields in the Target tree are not needed. (7) **Ignore empty source fields (no memory usage):** Only those source fields that are mapped or which are referenced as function parameters are kept in the main memory if the checkbox is set. This saves memory when only a few fields are used for large input files. This option has no effect for the XML parser version 4. It cannot be used for document types "EDIFACT in Tradacoms format" or "BWA". If the function [copy field by name()](/v1/docs/en/basic-copy-field-by-name) is used in the profile, the checkbox may not be used. If set, it will be removed when saving the profile. (8) **Fill with "0" for FixRecord output:** Indicates whether numeric data types ("Integer", "Float", "Double", "BigInteger", "BigDecimal") should be filled from the left with zeros (0), even if this formatting is not explicitly set in the fields. This setting is only relevant for the output format "Fix record". (9) **Use matchcode values for functions in mapping:** If a node has several match codes and you want to know which one actually matched when the node was entered, you have to set this checkbox. Then, you can simply use the function [get matched value()](/v1/docs/en/basic-get-matched-value) to read out the value. **CAUTION****:** Setting this checkbox considerably increases the memory requirements for the Source tree. (10) **Enter output channels for each record:** See the section "Execute responses per record" below. (11) **Apply filler again after template operation:** If this option is set, fill settings of fields will be reapplied after the template has been applied. Only needed if you use content "Fix record" in a Response. (12) **Values can be Base64 encoded:** Checks whether the input value is Base64-encoded and decodes it if it is. **NOTE:** This option only makes sense if the output format is not based on fixed lengths, since the length of the data is changed if decoded. (13) **Normal data mapper**, **Simple data mapper:** The simple data mapper does not allow hierarchies below nodes. The normal data mapper allows complex hierarchies in the source and target structure. (14) **Create new record if only one of the possible field values changes:** Concerns the source structure field attribute "New record if value changes". If this option is selected, the specified fields are ORed, otherwise ANDed (all field values must change). ## Skip record on error Usually, a profile is terminated if an error (like violations of the minimum/maximum constraints or missing mandatory fields) occurs during the mapping. But sometimes you do not want the whole profile to be terminated, for example, if a large number of orders are submitted in a single file. You would only want to skip the order that caused the error but still process all the other orders. The checkbox "Skip record on error" can be used to limit errors during the mapping process to the current record. This allows for the subsequent (error-free) orders to be processed. Error handling can only be activated at the level of a record. As a consequence, the logical unit of a mapping (e.g. an order) must be represented per record. If during the mapping an error occurs in a record, all subsequent phases behave as if the record would not exist. **NOTE:** It is not a termination in the sense of terminating a transaction. Variables that were changed before the error in the record occurred retain the changed values! If an error occurs, an entry is made in the log files. In addition, it is possible to use variables to collect information about the erroneous/skipped datasets. - The system variable `VAR_SYS_HAS_INVALID_RECORD` has the value *true* if an error has occurred during processing of at least one dataset. - You can use system variable `VAR_SYS_MESSAGE` to store relevant information about an erroneous/skipped dataset. - The contents of variable `VAR_SYS_MESSAGE` are accumulated in the system variable `VAR_SYS_COLLECTED_MSGS`*.* The variables can, for example, be used in a Response to send an email containing information about the erroneous/skipped datasets. ## Execute responses per record Normally, the Responses in Phase 6 are executed once per job. By setting checkbox **Enter output channels for each record** in the extended settings of Phase 2, this behavior can be changed. The responses will then be executed once per record. > [!CAUTION] > **CAUTION****:** > > By default, Responses that have the content set to "Output of IU", only execute the Integration Unit once per job and not for each record. These Responses thus always receive the same data for each record. If you want the Integration Unit executed for each record, set the checkbox **Incorporate IU**. An optional phase in a profile between mapping and the integration unit. In Phase 4, the profile writes target structure data directly to a database. This phase is skipped if no database write operation is configured. Structured representation of the input data in Phase 3. The target tree receives the values transferred via mapping and passes them on to Phase 4, Phase 5, or Phase 6. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. International EDI standard established by the UN for electronic data interchange. EDIFACT defines message types such as ORDERS, INVOICE, and DESADV. A British EDI standard, which is mainly used in the UK retail sector. Tradacoms is the forerunner of EDIFACT in the UK market and is still used by many trading partners there despite its age and obsolescence. Structured representation of the input data in Phase 2. The source tree is generated by parsing the input file and forms the basis for the mapping in Phase 3. The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. Responses: The profile stores the source data or sends it, for example, via FTP, HTTP, or e-mail. Parsing: The input data is parsed into the source structure. The source structure represents the input format. ## Related - [When does the parser start a new record?](/intro-profiles-phase-2-parsing-new-record.md)