Wednesday, December 26, 2012

Mapplets in Mappings

A Mapplet is a reusable object that represents a set of transformations. It allows you to reuse transformation logic and can contain as many transformations as you need.

A Mapplet can contain transformations, Reusable transformations and shortcuts to transformations.

The difference between a Mapplet and a Reusable transformation is... 

  • A Mapplet is a set of transformations where as a reusable transformation is single transformation.
  • Mapplet is created in a Mapplet designer where as a reusable transformation is created in Transformation developer or Mapping designer.
·         The unsupported repository objects in Mapplet are...
  • COBOL source definitions
  • Normalizer Transformations
  • Non-Reusable Sequence generator transformations
  • Pre-session or Post-session stored procedures
  • Target definitons
  • PowerMart 3.5 - style LookUp functions
  • XML Source definitons
  • IBM MQ Source definitions
  • Other Mapplets

Active and Passive Mapplet:

A mapplet can be active or passive depending on the transformations in the mapplet. Active mapplets contain one or more active transformations. Passive mapplets contain only passive transformations. Active mapplets contain at least one of the following transformations:
  • Advanced External Procedure
  • Aggregator
  • ERP Source Qualifier
  • Filter
  • Rank
  • Router
  • Source Qualifier
  • Update Strategy

Passive mapplets contain only the following transformations: 
  • Expression
  • External Procedure
  • Input
  • Lookup
  • Output
  • Sequence Generator
  • Stored Procedure

When you use a mapplet in a mapping, all transformation rules apply to the mapplet depending on the mapplet type. For example, as with an active transformation, you cannot concatenate data from an active mapplet with a different pipeline.


No comments:

Post a Comment

Thank you :
- kareem