Complete reference to Informatica: MAPPLETS

Page 1 of 3

Home

Informatica

Data WareHousing

Unix-Shell Scripts

PL SQL

Contact Us

Complete reference to Informatica

16
Sharing
Apr 2011

MAPPLETS
Naveen
Share

Submit Query

Transformation Discussion Forum
Filter Discussion Forum • A mapplet is a reusable object that we create in the Mapplet Designer. • It contains a set of transformations and lets us reuse that Expression Router Sorter Rank Transaction Control We need to use same set of 5 transformations in say 10 mappings. So instead of making 5 transformations in every 10 mapping, we create a mapplet of these 5 transformations. Now we use this mapplet in all 10 mappings. Example: To create a surrogate key in target. We create a mapplet using a stored procedure to create Primary key for target table. We give target table name and key column name as input to mapplet and get the Surrogate key as output. Mapplets help simplify mappings in the following ways: • Include source definitions: Use multiple source definitions and source qualifiers to provide source data for a mapping. • Accept data from sources in a mapping • Include multiple transformations: As many transformations as we Informatica Real Time Interview Questions Informatica Experienced Interview Questions part1 Informatica Experienced Interview Questions part2 Informatica Experienced Interview Questions part3 Informatica Experienced Interview Questions part4 Data Warehousing concept Based Interview Questions Mapplet Output: The output of a mapplet is not connected to any target table. Mapplet input can originate from a source definition and/or from an Input transformation in the mapplet. We can create multiple pipelines in a mapplet. • We use Mapplet Input transformation to give input to mapplet. • Use of Mapplet Input transformation is optional. Subscribe Delivered by FeedBurner Enter your email address: need. • Pass data to multiple transformations: We can create a mapplet to feed data to multiple transformations. Each Output transformation in a mapplet represents one output group in a mapplet. • Contain unused ports: We do not have to connect all mapplet input and output ports in a mapping. Mapplet Input:
Like 43 people like this.

Introduction
ETL Life Cycle What Is Informatica Client Components Services Behind Scene Try U R Hand's on Admin -Console Difference Between 7.1 and 8.6 Informatica 8.6 Installation

transformation logic in multiple mappings. • Created in Mapplet Designer in Designer Tool.

Source Qualifier Stored Procedure SQL Transformation Normalizer Sequence Generator Aggregator Union Joiner Update Strategy Look Up

Interview Zone

Subscribe to Learn Informatica

http://informaticatutorials-naveen.blogspot.com/2011/04/mapplets.html

9/15/2011

Click Tools -> Mapplet Designer. Ex: m_mplt_example1 4. Example1: We will join EMP and DEPT table. Validate mapping and Save it. Transformation -> Create -> Select Filter for list -> Create -> Done. 5. Give the output to mapplet out transformation. and then create a filter transformation to filter records whose Total Salary is >= 1500. Repository -> Save Use of mapplet in mapping: • We can mapplet in mapping by just dragging the mapplet from mapplet folder on left pane as we drag source and target tables. 6. Making a mapping: We will use mplt_example1. Creating Mapping 1.1 Types of Task's. 6.Type 1 SCD . • A mapplet must contain at least one Output transformation with at least one connected port in the mapplet. Connect all ports from filter to target.Complete reference to Informatica: MAPPLETS Page 2 of 3 Testing Unit Testing Integration Testing UAT Informatica Testing Debugger Constraint Based loading Target Load Plan • We must use Mapplet Output transformation to store mapplet output. Click Mapplets-> Create-> Give name. • Make sure to give correct connection information in session. Ex: mplt_example1 4. These are referred to as the mapplet input and mapplet output ports. Use Joiner transformation as described earlier to join them. Drag all ports from mplt_example1 to filter and give filter condition. 2. Click Tools -> Mapping Designer.com/2011/04/mapplets. · Create target table same as Mapplet_out transformation as in picture above. Steps: 1.Type 2 SCD . Chat with Me Chat with Me Offline Visitor's http://informaticatutorials-naveen. • When we use the mapplet in a mapping. 10. the mapplet object displays only the ports from the Input and Output transformations. 8. 3. 2. Pass all ports from joiner to expression and then calculate total salary as described in expression transformation. 8. Drag mplt_Example1 and target table. Mapplet -> Validate 11. Drag EMP and DEPT table. · mplt_example1 will be source.blogspot. Pass all ports from expression to Mapplet output. We can add more transformations after filter if needed.html 9/15/2011 . PerformanceTuning Necessity Of Performance-tuning Identification Of bottle Necks Optimization of Bottle necks Performance tuning of Lookup Push Down Optimization Advanced Concepts Mapping Parameter's & Variable Mapplets Partitioning Working with links Scheduler Types of Task's. Now Transformation -> Create -> Select Mapplet Out from list –> Create -> Give name and then done. Transformation -> Create -> Select Expression for list -> Create -> Done 7. 5. Then calculate total salary. 7.2 Indirect Method for Loading SCD . 9. Open folder where we want to create the mapping. Open folder where we want to create the mapping. · EMP and DEPT will be source tables. Click Mapping-> Create-> Give name. 3.Type 3 Incremental Aggregation Mapping Templates Grid Processing Work Flow Variables · Output will be given to transformation Mapplet_Out.

• Give connection information for target table.com/2011/04/mapplets.blogspot.Complete reference to Informatica: MAPPLETS Page 3 of 3 • Make session and workflow. You can leave a response. Reactions: You can follow any responses to this entry through the RSS 2.Complete reference to Informatica is proudly brought to you by Naveen http://informaticatutorials-naveen.html 9/15/2011 .0 feed. 0 Responses Leave a Reply Comment as: Google Account Post Comment Preview Links to this post Create a Link « Previous Entries Next Entries » Recent Comments © 2009 . • Give connection information for mapplet source tables. • Run workflow and see result.

Sign up to vote on this title
UsefulNot useful