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

Include All Remaining Ports

Include All Remaining Ports

When a transformation contains more than one dynamic port, you can configure the last dynamic port to include all ports that were not included in any other dynamic port.
For example, you want to remove the leading spaces from the string columns in a table and write the output of the string data along with the data for all other columns to the target. In an Expression transformation, you create two dynamic ports. You configure input rules to include all string data in one port and to put all remaining date in the other port. You choose the
Include all remaining ports
option for the last dynamic port.
The following image shows the dynamic ports String_Ports and Remaining_Ports in the Expression transformation:
The mapping contains a Read transformation with string and decimal ports and an Expression transformation with two dynamic ports String_Ports and Remaining_Ports. String_Ports has generated ports of type string and Remaining_Ports has generated ports for all the remaining ports from the All Ports group of the Read transformation.

0 COMMENTS

We’d like to hear from you!