Data Transformation Engine Design Studio Tutorial
Chapter 18 - Mapping Invalid Data Restart Attribute
Design Studio Tutorial
279
This BadData item type is used to map an invalid customer.
The ErrorReport group type contains a Header and some unknown number of
BadData items as components.
Restart Attribute
The restart attribute is used to identify valid data objects that contain objects in
error.
The restart attribute is assigned to components of group types in the Type
Designer. The restart attribute allows you to continue processing your input data
when a data object of a component is invalid.
To map invalid data of a particular object, assign the restart attribute. Errors are
ignored for invalid data object during validation. You can then map the invalid
data using error functions.
During data validation, the restart attribute identifies a "start over" point when an
unidentified foreign object (UFO) is encountered in the data. All unrecognized data
is considered an error of the type with the restart attribute assigned.
The restart attribute is used during validation to mark both UFOs and existing data
objects in error, which are ignored when mapping input to output.
Mapping Invalid Data
The Names.txt input file contains errors. By using the REJECT function and the
restart attribute, these errors can be identified in a separate file generated by a
map.