Table of Contents

Search

  1. Preface
  2. Understanding Mapping Analyst for Excel
  3. Standard Mapping Specification Template
  4. Models Worksheet
  5. Packages Worksheet
  6. Domains and Enumerations Worksheets
  7. Mappings Worksheet
  8. Joins, Lookups, and Filters Worksheets
  9. Rules Worksheet
  10. Importing and Exporting Mapping Specifications

Mapping Analyst for Excel Guide

Mapping Analyst for Excel Guide

Rule Example

Rule Example

A rule is a conditional statement that takes input parameters, performs a calculation on the parameters, and produces output parameters.
For example, you create a rule named FullName. The rule uses fname and lname as input parameters, concatenates the parameters, and assigns the result to an output parameter named FullName.
The following table shows the required columns that you configure on the Rules worksheet:
Rule Name
Parameter1 Name
Parameter2 Name
Result1 Name
Expression
FullName
fname
lname
FullName
(fname + " " + lname)
On the Mappings worksheet, include the rule name as an expression to connect source columns first_name and last_name to the target column full_name. Enter the rule name using the following format:
%FullName%
When the PowerCenter Repository Service imports the mapping specification, it creates a Java transformation named FullName. The transformation uses fname and lname as input ports and uses FullName as an output port. The transformation contains the following Java code:
if(true) { FullName=fname + " " + lname; }

0 COMMENTS

We’d like to hear from you!