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

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!