Part II: Getting Started with Informatica Developer > Lesson 6. Validating Address Data > Task 2. Create a Mapping to Validate Addresses
  

Task 2. Create a Mapping to Validate Addresses

In this task, you create a mapping and add data objects and an Address Validator transformation.
To create the mapping and add the objects you need, complete the following steps:
    1. Create a mapping object.
    2. Add source and target data objects to the mapping.
    3. Add an Address Validator transformation to the mapping.

Step 1. Create a Mapping

In this step, you create and name the mapping.
    1. In the Object Explorer view, select your tutorial project.
    2. Select File > New > Mapping.
    The New Mapping window opens.
    3. In the Name field, enter ValidateAddresses.
    4. Click Finish.
    The mapping opens in the editor.

Step 2. Add Data Objects to the Mapping

In this step, you add the source and target data objects to the mapping.
All_Customers is the source data object for the mapping. The Address Validator transformation reads data from this object. All_Customers_av_tgt is the data target object for the mapping. This object reads data from the Address Validator transformation.
    1. In the Object Explorerview, browse to the data objects in your tutorial project.
    2. Select the All_Customers data object and drag it to the editor.
    The Add Physical Data Object to Mapping window opens.
    3. Verify that Read is selected and click OK.
    The data object appears in the editor.
    4. In the Object Explorer view, browse to the data objects in your tutorial project.
    5. Select the All_Customers_av_tgt data object and drag it onto the editor.
    The Add Physical Data Object to Mapping window opens.
    6. Select Write and click OK.
    The data object appears in the editor.
    7. Click Save.

Step 3. Add an Address Validator Transformation to the Mapping

In this step, you add an Address Validator transformation to the mapping that contains the source and data objects.
When this step is complete, you can configure the transformation and connect its ports to the data objects.
    1. Select the editor containing the ValidateAddresses mapping.
    2. In the Transformation palette, select the Address Validator transformation.
    3. Click the editor.
    The Address Validator transformation appears in the editor.