Data Transformation Engine Map Designer Reference Guide
Map Designer Reference Guide 
234 
Chapter 15 - Managing Invalid Data 
This chapter explains how to map invalid data. You can map invalid data to an 
output, just like any other data. For example, you can place all invalid data in a 
separate output for editing or debugging purposes. You can map invalid data to an 
error report. 
To map invalid data, it must be contained in a valid object. A map does not run 
unless all input card objects are valid. For example, if you want to map an invalid 
purchase order in a file of many purchase orders, the file itself must be valid. 
Using the Restart Attribute 
To map invalid data of a particular object, assign the Restart attribute. Errors 
must be ignored for invalid data object during validation. You can then map the 
invalid data using any or all of the error functions 
REJECT, ISERROR, and 
CONTAINSERRORS. For a detailed discussion of the Restart attribute, see the Type 
Designer Reference Guide. 
Using the REJECT Function 
To map invalid data, use the REJECT function. The REJECT function is used in 
conjunction with the restart attribute. The 
REJECT function operates on an invalid 
data object contained within a valid object. The output of the 
REJECT function is a 
series of text items. 
The syntax of the 
REJECT function is the following: 
REJECT (component_with_restart_attribute) 
Use the REJECT function with expressions that map valid data. For example, you 
can generate an error report that contains the invalid input data, in addition to the 
valid company name and date from the input. 










