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

Expose Transformation Parameters as Mapping Parameters

Expose Transformation Parameters as Mapping Parameters

After you add a reusable transformation to a mapping, you can expose the transformation parameter as a mapping parameter. When you expose a reusable transformation parameter as a mapping parameter, you create a mapping parameter from the transformation parameter. The mapping parameter has the same name and type as the transformation parameter. The mapping parameter uses the instance value of the reusable transformation parameter.
You can click
Expose as Mapping Parameter
one time for a transformation parameter. If you click
Expose as Mapping Parameter
and the transformation parameter is already bound to a mapping parameter, the Developer tool does not change the mapping parameter. The Developer tool does not create another mapping parameter, and it does not update the mapping parameter default value. After you create a mapping parameter, multiple objects might use the mapping parameter. If you need to change the mapping parameter default value, change the value in the mapping or change it at run time.
  1. Open the mapping. Select the mapping in the Outline view.
    The
    Parameters
    tab appears in the
    Properties
    view.
    The following image shows the
    Parameters
    tab for a Filter transformation:
    The m_Customer_Order mapping contains a Read and Write transformation and a Filter transformation. The Filter transformation Parameters tab shows the Min_Order_Amount parameter. The Instance Value column contains the word (default) in parenthesis.
  2. To create a mapping parameter for the parameter, select the parameter and click
    Expose as Mapping Parameter
    .
    The Developer tool creates a mapping parameter with the same name and it binds it to the transformation parameter.
  3. To update a mapping parameter, select the parameter from the
    Outline
    view.
    You can change the default mapping parameter value. You can also add mapping parameters on the mapping
    Parameters
    tab.

0 COMMENTS

We’d like to hear from you!