P. 1



|Views: 3,394|Likes:
Published by api-3810732

More info:

Published by: api-3810732 on Oct 17, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less






Informatica PowerMart / PowerCenter 6 Basics – Lab 4 – Create a Mapping


One mapping objective is to concatenate the FIRST_NAME and
LAST_NAME on each row prior to loading the target. An Expression
Transformation is ideal for this task.

Informatica PowerMart / PowerCenter 6 Basics – Lab 4 – Create a Mapping


Passive versus Active Transformations

There are two types of transformations: Passive and Active. Passive
transformations allow every row of data to pass through it – so if 100 rows go in, then
100 rows will go out to the next transformation. Active transformations may
decrease or increase the number of rows passing through.

As each transformation object is introduced during the course, it will be labeled as
either passive or active. There are internal validation checks to make sure
transformations can be linked together based on this very concept.

•Locate the Transformation Toolbar

The default location is at the top right of the
Designer. Look for the ‘arrow’ icon just to the right of a set

up vertical bars

•Single-click on the double vertical bars and drag to the center of
the Workspace

•Another suggested location is right below the default location of
the Standard Toolbar – to move it, drag and drop from the title

If at any time this toolbar is not visible, activate
it in the same way other toolbars have been activated by
selecting Tools | Customize and checking the
Transformation checkbox

Informatica PowerMart / PowerCenter 6 Basics – Lab 4 – Create a Mapping


If the checkmark is present, then try to maximize the window
of the Designer; or open the Customize dialog box, again, and
remove the checkmark and click OK. Reopen the Customize
dialog box and check the Transformation checkbox, and click

•Click on the Expression transformation icon in the
Transformation toolbar

•Drag the pointer, which now appears as crosshairs

, into the

Workspace window to the right of the Source Qualifier
•Single-click (or, click-and-drag, which will draw a box, then

Another way to add transformation objects to
mappings is selecting Transformation | Create. After the
Create Transformation dialog box appears select the type of
transformation from the pull-down list; or type the first letter
of the transformation name until the desired transformation
type appears on the list. Enter a name for the
transformation. Click on the Create button and if no
additional transformations are required then click on the
Done button.

•Set the Mapping Designer to copy port names and create link
relationships between transformation objects:


Select Layout | Link Columns; OR


Select the Link Columns icon in the toolbar

•Link the following ports from the sq_EMPLOYEE to the new
Expression transformation:


With the Source Qualifier and the Expression
transformations in ‘Normal’ mode, hold down the Ctrl key
and select the above ports in the sq_EMPLOYEE. Drag
them to an empty line on the Expression transformation.
When the mouse is released, not only will the port names
(including datatypes, precision and scale) will be copied from

Informatica PowerMart / PowerCenter 6 Basics – Lab 4 – Create a Mapping


sq_EMPLOYEE, but links connecting the ports between the
two transformations will also be created.

•Double-click on the header of the Expression transformation to
enter Edit mode
•Click the Rename button

•Rename the transformation to exp_ODS_EMPLOYEE

If the transformation was created via the
Transformation | Create menu instead of the
Transformation Toolbar, the object will have a name

•Click on the OK button to close the dialog box

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->