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

Example - Selection Rules and Port Selectors

Example - Selection Rules and Port Selectors

You configure the mapping to use dynamic sources, but the column that contains salary information in each source file has a different name. The column names for the different sources are
Salary
,
Monthly_Salary
, or
Base_Salary
.
You perform the following tasks to run the expression with any of the salary port names:
  1. You create a port selector named "Salary_PortSelector."
  2. You create a selection rule to accept any port name with the suffix of "Salary."
  3. Configure the expression to include the port selector name instead of a specific column name. The expression has the following syntax:
    Salary_PortSelector * 12

0 COMMENTS

We’d like to hear from you!