Professional Documents
Culture Documents
Transformations
• Aggregator AGG_TransformationName
• Expression EXP_TransformationName
• Filter FIL_TransformationName
• Joiner JNR_TransformationName
• Lookup LKP_TransformationName
• Normalizer NRM_TransformationName
• Rank RNK_TransformationName
• Sequence Generator SEQ_TransformationName
• Stored Procedure SP_TransformationName
• Source Qualifier SQ_TransformationName
• Update Strategy UPD_TransformationName
Suggested Naming Conventions
Targets
• T_TARGETNAME
Mappings
• m_MappingName
Mapplets
• mplt_MappletName
Sessions
• s_MappingName
Mapping Designer
Ports
• To design the basic flow of data between source and
targets
• Types: input, output, variable
Variable Ports
For aggregator, expression and rank transformations
Use variable to
• simplify complex expression
• store temporary data
• store values from prior rows
Provides Wizards to create simple pass through
mappings/Slowly changing dimensions
Mapping Creation
How to create a Mapping?
• Open the Mapping designer workspace
• Choose Mappings > Create
• Give a proper name to the mapping
Source Target
Emp id Name Email Emp id Name Email
Source Target
Emp id Name Email Emp id Name Email
Target
Type II Dimension/Versioning
Source
Emp Name Email
id
10 Shane Shane@
abc.com
10 Shane Shane
1000 10 Shane Shan 1
@xyz.c
e@xy
om z.co
m
Type II Dimension/Flag Current
Source
Emp Name Email
id
10 Shane Shane@
abc.co.in
Target
Type II Dimension/Flag Current
Source
Emp Name Email
id
10 Shane Shane@
abc.com
Target
Mapping Wizards
Slowly Changing Dimensions Wizard
• Type III Dimension Mapping
- insert new and update values in existing dimensions
- keep current and previous values (partial history)
Target
PM_P Emp Name Email PM_P PM_E
Source RIMA id rev_ FFECT
RYKE Colu _DAT
Emp Name Email Y mnN E
id ame
Target
Type III Dimension
Source
Emp Name Email
id
10 Shane Shane@
abc.com
Target
Mapplet Designer
Mapplet
• Reusable object that reflect set of transformation
logic to use in multiple mappings
• Like a single transformation object
• Expands at run time
Each Mapplet must include the following
• Exactly one input transformation or Source Qualifier
transformation
• At least one output transformation
Rules for Objects in Mapplets
• Use only reusable Sequence Generators
• Do not use pre- or post-session stored procedures
Mapplet Designer
Rules for Objects in Mapplets
• Do not use the following in a mapplet
Joiner
Cobol Source definition
Normalizer
Target definitions
Mapplet Designer
How to create a Mapplet?
• Open the Mapplet designer workspace
• Choose Mapplets > Create
• Give a name to the Mapplet
•Workflow manager>Connections>Replace
Working with tasks
Type of Tasks
• Command
• Decision
• Event
• Email
• Timer
• Assignment
• Session
Command
• The Command task allows you to specify one or more shell commands
to run during the workflow. For example, you can specify shell
commands in the Command task to delete reject files, copy a file, or
archive target files.
Session
Worklet