Table of Contents

Search

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

Developer Mapping Guide

Developer Mapping Guide

Example - Run-time Links

Example - Run-time Links

A mapping has a reusable Aggregator transformation that calculates the total salary by department. The Aggregator transformation receives employee data from an Expression transformation that has generated ports.
The Expression transformation might generate the following output ports from a dynamic expression:
Read_EMP Source 1:
EMPNO_OUT NAME_OUT SALARY_OUT DEPTNO_OUT
Read_EMP Source 2:
EMPNUM_OUT FULLNAME_OUT SALARY_OUT DEPT_OUT
The Aggregator transformation instance does not have a dynamic port.
Set the run-time link properties of the Aggregator transformation instance to receive the EMPNO_OUT or EMPNUM_OUT employee number, NAME_OUT or FULLNAME_OUT string, the SALARY number, and the DEPTNO_OUT or DEPT_OUT department number.
The following image shows the links between the Expression transformation and the Aggregator transformation:
The mapping contains a Read, an Expression transformation, and an Aggregator transformation. The Read transformation has four ports. The Expression transformation has a dynamic port and a dynamic output port. The Aggregator transformation has five ports. A think line connects the All Ports groups of the Expression and the Aggregator transformations.

0 COMMENTS

We’d like to hear from you!