PowerCenter Level1 Unit14

download PowerCenter Level1 Unit14

of 15

description

Presentation of PowerCenter Level 1 Labs Unit14

Transcript of PowerCenter Level1 Unit14

  • 7/17/2019 PowerCenter Level1 Unit14

    1/15

    1

    Unit 14. Mapplets

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    2/15

    2

    Unit Objectives

    Understand why and how to use: Mapplets

    Use a mapplet in a mapping

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    3/15

    3

    Mapplets

    A mappletencapsulates asubset of amapping

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    4/15

    4

    Mapplet Designer

    Mapplet

    Input & Output

    transformations

    (pass ata from

    or to mapping!

    Mapplet Designer "ool

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    5/15

    #

    $%ample Data 'ources Define Outsie Mapplet

    Source data defined

    outside the Mapplet

    Mapplet

    Mapplet Input

    transformation

    Mapping

    Mapplet Output

    transformation

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    6/15

    $%ample Data 'ources Define Insie Mapplet

    Sources

    define source

    data within

    Mapplet

    Note: Mapplet must come first in mapping

    Mapplet Output

    transformation

    Unit 14

    Mapplet

    Mapping

  • 7/17/2019 PowerCenter Level1 Unit14

    7/15

    )

    *asses ata from a mapping into a mapplet

    Mapplet Input "ransformation

    Passie

    Ports Output ports only

    Usage

    Only those ports

    connected from an

    Input transformationto another

    transformation

    will display in the

    resulting Mapplet

    +onnecting t,e same

    port to more t,an one

    transformation is

    isallo-e

    *ass to an $%pression

    transformation first

    !ransformation

    !ransformation

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    8/15

    Mapplet Output "ransformation

    Passie

    Ports

    Input ports only

    Usage

    Only those ports connected toan Output transformation "from

    another transformation# willdisplay in the resulting Mapplet

    One "or more# Mapplet Outputtransformations are re$uired ineery Mapplet

    *asses ata from a mapplet into a mapping

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    9/15

    /

    Mapplet -it, Multiple Output 0roups

    +an output to multiple instances of t,e same target table

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    10/15

    1

    Unmappe Mapplet Output 0roups

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    11/15

    11

    *assive an ctive Mapplets

    Multiple passive

    mapplets can populate

    t,e same target

    instance

    Multiple active mapplets

    or active an passive

    mapplets cannotpopulate t,e same

    target instance

    contains only passie

    transformations

    contains one or moreactie transformations

    Passie Mapplet

    Actie Mapplet

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    12/15

    12

    Mapplet *arameters an ariables

    Similar to mapping parameters and ariables

    %efined under

    Mapplets *arameters an ariables

    A parameter or ariable defined in a mapplet is not

    isible in any parent mapping

    A parameter or ariable defined in a mapping is not

    isible in any child mapplet

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    13/15

    13

    Unit 14 5ab+reate a Mapplet

    +reate a Mapplet from",e 6+"7'5$' loa mapping

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    14/15

    14

    5ab 8evie-

    &hat did we accomplish with this lab'

    (uestions'

    Unit 14

  • 7/17/2019 PowerCenter Level1 Unit14

    15/15

    1#

    Unit 14 9ui:

    )* &hen would you use mapplets'

    +* &hat is a mapplet output transformation'

    ,* &hat is a mapplet input transformation'

    -* &here can a mapplet receie data from'

    Unit 14