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

Expression Parameters

Expression Parameters

You can configure an expression parameter type. An expression parameter is a parameter that contains a complete expression. You can use an expression parameter in a Filter transformation and a Lookup transformation.
Define an expression parameter in the Expression Editor. Select
Specify by Parameter
to indicate that the complete expression is parameterized.
The following image shows the
Specify by Parameter
option for the filter condition:
Choose to Specify a filter by Value or by Parameter. The Filter dialog box lists functions you can use in the filter condition and a default filter condtion that says TRUE.
When you use an expression parameter, you can create the expression parameter or you can select an existing expression parameter to use in the transformation. An expression parameter can contain ports, operators, and constants. It cannot contain other parameters.
For example, in a Filter transformation you might create a filter expression parameter with the following default value:
EmployeeID > 100
. In the mapping, you might create a different expression parameter with the following default value:
Dept < 2000
. If you bind the mapping parameter to the transformation parameter, you can override the mapping expression parameter at run time. You might create expression parameters with different port names and operators for dynamic mappings.

0 COMMENTS

We’d like to hear from you!