Table of Contents

Search

  1. Preface
  2. Mappings
  3. Mapplets
  4. Mapping Parameters
  5. Mapping Outputs
  6. Generate a Mapping from an SQL Query
  7. Dynamic Mappings
  8. How to Develop and Run a Dynamic Mapping
  9. Dynamic Mapping Use Cases
  10. Mapping Administration
  11. Export to PowerCenter
  12. Import From PowerCenter
  13. Performance Tuning
  14. Pushdown Optimization
  15. Partitioned Mappings
  16. Developer Tool Naming Conventions

Developer Mapping Guide

Developer Mapping Guide

Defining Write Transformation Ports

Defining Write Transformation Ports

Define target object columns by mapping flow to enable upstream mapping objects to update the incoming ports for the Write transformation.
  1. In the
    Properties
    view, click the
    Ports
    tab.
  2. Select
    Columns defined by: Mapping flow
    .
    The following image shows the
    Ports
    tab populated with ports defined by the associated data object:
    To define columns by mapping flow, select the Mapping Flow option in the Ports tab.
  3. Enable dynamic ports and targets:
    1. Drag upstream ports to the
      input
      pane of the Write transformation.
      The target gets column definitions from upstream mapping objects.
    2. In the
      Properties
      view, click the
      Advanced
      tab.
    3. Select
      Create or replace table at run-time
      .
      The following image shows the
      Create or replace table at run-time
      option in the Advanced tab of the target object: To configure a Write transformation to create or replace the target table at run time, select the option in the Advanced tab.
      At run-time, the Data Integration Service creates, or drops and replaces, the target table.
      When a mapping contains multiple targets whose columns are defined by the same physical data object, enable the
      Create and replace table at run-time
      option for only one of the targets. If you enable this option for more than one target, the metadata of the table that the mapping creates would match only one of the targets, and the mapping fails.

0 COMMENTS

We’d like to hear from you!