Вы находитесь на странице: 1из 321

TRAINER INTRODUCTION

•Name : SAJAN

• IT Experience : 5+ years

• Technologies: INFORMATICA,ORACLE,MSBI,ABNITIO

IBM DATASTAGE

• Client List : Accenture ,IBM , GENPACT,DELL

etc..
NETWORK
ARCH OF POWERCENTER
NETWORK ARCH OF POWERCENTER

SERVER INF
SERVER

CLIENT & SERVER ARCH


NETWORK ARCH OF POWERCENTER

SERVER SERVER SERVER


1 2 3

INF INF INF


SERVER SERVER SERVER

CLUSTERED
ARCH
NETWORK ARCH OF POWERCENTER

SERVER SERVER SERVER


1 2 3

INF INF INF


SERVER SERVER SERVER

CLUSTERED
ARCH
SOA ARCH OF POWERCENTER

M/S
SERVER SERVER SERVER
1 2 3
SOA ARCH OF POWERCENTER

DOMAIN

NODE NODE NODE


1 2 3

INF INF INF


SERVER SERVER SERVER

D NC ARCH
REQUEST LAYER OF POWERCENTER

DOMAIN

NODE NODE NODE


1 2 3
FAIL OVER MECHANISM

DOMAIN

NODE NODE NODE


1 2 3
FAIL OVER MECHANISM

CASE 1 :- N1 N2 N3

CASE 2 :- N1 N2 N3

CASE 3 :- N1 N2 N3

CASE 4 :- N1 N2 N3
FAIL OVER MECHANISM

DOMAIN

NODE NODE NODE


1 2 3
SOA ARCH OF POWERCENTER

D1 D2 D3

NODE NODE NODE


1 2 3

INF INF INF


SERVER SERVER SERVER
SOA ARCH OF POWERCENTER

D1 D2 D3

NODE NODE NODE


1 2 3

INF INF INF


SERVER SERVER SERVER
DOMAIN FAIL OVER MECHANISM

CASE 1 :-
D1 D2 D3

CASE 2 :-
D1 D2 D3
CASE 3 :-
D1 D2 D3
CASE 4 :-
D1 D2 D3
DOMAIN
REPOSITORY

D1 D2 D3

NODE NODE NODE


1 2 3

INF INF INF


SERVER SERVER SERVER
INFORMATICA
HOW TO HANDLE THIS DATA

IT
AGENDA FOR DAY1

- ETL INTRODUCTION

- INFORMATICA INTRODUCTION

- INFORMATICA ARCHITECTURE

- CLIENT AND SERVER TOOLS

- PREPARING INFORMATICA ENVIRONMENT

- PREPARING SOURCES AND TARGETS


AGENDA FOR DAY1

- CREATING THE FIRST MAPPING

- INTRODUCTION TO TRANSFORMATIONS

- FILTER

- ROUTER

- SOURCE QUALIFIER

- EXPRESSION
PROCESS OF TRAINING

THEORY

DEMO

EXERCISES

END OF SESSION EVERY DAY EXTRA


EXERCISES
INFORMATICA INTRODUCTION
ETL

SRC TRG

ORACLE

ORACLE
INFORMATICA

19-03-2019 22
19-03-2019 23
INFORMATICA
ARCHITECTURE
Informatica Power Center 9 Architecture

19-03-2019 25
Explanation of Components

1. *Repository Service* maintains the consistency in the


repository data base and it is responsible for storing & retrieving
meta
data from repository database. If this goes down, you can not
access
Informatica repository and Integration service will also be down.
2. *Integration Service* is responsible for running and scheduling
of jobs.In case IS down, you can access repository and work on
object but
you will not be able to run the workflows.
3. *Node* is machine where your services are hosted
--> All your nodes and services are assigned to a domain, where
you
can configure nodes and services. It is single point of
administration.
Informatica Power Center 9 Architecture

DOMAIN

Integration Service

Repository Service

Administration
Console

REPOSITORY

19-03-2019 27
TOOLS OF INFORMATICA
Power Center Client Applications
SOURCE
AND
TARGET TYPES

Registered Office Address: Provendw Consultants Private Limited, 2-1-461,463 flat no.201,
Source and Targets

ORACLE

DATABAS FLAT XML


E FILE FILE
PREPARING INFORMATICA
ENVIRONMENT
SOURCE DATABASE
SET SQL PROMPT AS SCOTT>
TARGET DATABASE
SET SQL PROMPT AS TRG>
1.Go to C:\

2. Create a folder as  FILES

3. Go to FILES folder and Create 3 more folders as


SRC , TRG ,XML
Creating Folder

 In the Repository Manager,


click Folder > Create.
Creating Folder

 Provide the folder name as


your name

Ex:”TRAINING ”
PREPARING SOURCES
AND TARGETS
Importing source

 Connect to
DESIGNER
Importing source

 Connect to
DESIGNER

 Connect to the folder


Importing source

 Connect to
DESIGNER

 Connect to the folder

 Click on Source
Analyzer
Importing source

 Connect to
DESIGNER

 Connect to the folder

 Click on Source
Analyzer

 Select the source


type as “Import from
Database”
Connecting to source

 Provide the Data


source,Username,
Password .
Connecting to source

 Provide the Data


source,Username,
Password .

 Click on connect
Connecting to source

 Provide the Data


source,Username,
Password .

 Click on connect
Connecting to source

 Provide the Data


source,Username,
Password .

 Click on connect

 Select the table in


the TABLES folder
Connecting to source

 Provide the Data


source,Username,
Password .

 Click on connect

 Select the table in


the TABLES folder

 Click ok
 Meta data of the source
in the Source Analyzer
Importing Target

 Click on Target Designer


Importing Target

 Click on Target Designer


Importing Target

 Click on Target
Designer

 Click on Targets and


select “Import from
data base”
Connecting to Target

 Provide the Data


source,Username,
Password .
Connecting to Target

 Provide the Data


source,Username,
Password .

 Click on connect
Connecting to Target

 Provide the Data


source,Username,
Password .

 Click on connect
Connecting to Target

 Provide the Data


source,Username,
Password .

 Click on connect

 Select the required


table in the TABLES
Folder
Connecting to Target

 Provide the Data


source,Username,
Password .

 Click on connect

 Select the required


table in the TABLES
Folder

 Click ok
 Meta data of the target
table in the Target
Designer
Creating a mapping

 Click on mapping
designer
CREATING THE FIRST
MAPPING
Creating a mapping

 Click on mapping
designer

 Drag the source and


target on to mapping
designer from the
repository manager
Creating a mapping

 Click on mapping
designer

 Drag the source and


target on to mapping
designer from the
repository manager
Creating a mapping

 Click on mapping
designer

 Drag the source and


target on to mapping
designer from the
repository manager

 Map the source and


target
WORKFLOW MANAGER
CREATING WORKFLOW
CREATING SESSION
ASSOCIATE MAPPING WITH SESSION
LINK WORKFLOW TO SESSION
WORKFLOW EXECUTION
WORKFLOW MONITOR
EXERCISES FOLLOWS . . .

19-03-2019 77
TRANSFORMATIONS
FILTER

Registered Office Address: Provendw Consultants Private Limited, 2-1-461,463 flat no.201,
Filter Transformation

SOURCE TARGET
5 records
3
EMPNO ENAME SAL
records
1001 SMITH 1000 EMPNO ENAME SAL

1002 ADAM 2100 1002 ADAM 2100

1003 JOHN 1000 1004 RAM 4000

1004 RAM 4000 1005 RAJU 6000


FILTER
1005 RAJU 6000
Filter Mapping
Filter Properties
Filter Output

SOURCE TARGET
5 records
3
EMPNO ENAME SAL
records
1001 SMITH 1000 EMPNO ENAME SAL

1002 ADAM 2000 1002 ADAM 2000

1003 JOHN 1000 1004 RAM 4000

1004 RAM 4000 1005 RAJU 6000

1005 RAJU 6000


FILTER
Multiple Targets
SOURCE
EMPNO ENAME DEPTNO DEPT10
EMPNO ENAME DEPTNO
1001 SMITH 10

1002 ADAM 20 1001 SMITH 10

1003 JOHN 20 1005 RAJU 10


FILTER
1004 RAM 30

1005 RAJU 10

SOURCE
EMPNO ENAME DEPTNO DEPT20
1001 SMITH 10
EMPNO ENAME DEPTNO
1002 ADAM 20
1002 ADAM 20
1003 JOHN 20
1003 JOHN 20
1004 RAM 30
FILTER
1005 RAJU 10 1
EXERCISES FOLLOWS . . .

19-03-2019 85
ROUTER
Router Transformation
DEPT10
2
RECORDS EMPNO ENAME DEPTNO
SOURCE
5 1001 SMITH 10
RECORDS
EMPNO ENAME DEPTNO 1005 RAJU 10

1001 SMITH 10

1002 ADAM 20 DEPT20


1003 JOHN 20
ROUTER EMPNO ENAME DEPTNO
1004 RAM 30
1002 ADAM 20
1005 RAJU 10 2
RECORD 1003 JOHN 20
S
DEPT10
2
RECORDS EMPNO ENAME DEPTNO
SOURCE
5 1001 SMITH 10
RECORDS
EMPNO ENAME DEPTNO 1005 RAJU 10

1001 SMITH 10

1002 ADAM 20 DEPT20


1003 JOHN 20
ROUTER EMPNO ENAME DEPTNO
1004 RAM 30
1002 ADAM 20
1005 RAJU 10 2
RECORD 1003 JOHN 20
S
DEPT10
EMPNO ENAME DEPTNO
SOURCE
5 1001 SMITH 10
RECORDS
EMPNO ENAME DEPTNO 1005 RAJU 10

1001 SMITH 10

1002 ADAM 20 DEPT20


1003 JOHN 20
ROUTE EMPNO ENAME DEPTNO
1004 RAM 30 R
1002 ADAM 20
1005 RAJU 10
1003 JOHN 20

DEFAULT
EMPNO ENAME DEPTNO
1004 RAM 30
Router Mapping
Router Properties
EXERCISES FOLLOWS . . .

19-03-2019 93
EXPRESSION
TRANSFORMATION
EXPRESSION TRANSFORMATION

TAX
Source (SAL+COMM)*0.10

EMPNO ENAME SAL comm.

1001 SMITH 1000 100

1002 ADAM 1500 200

1003 JOHN 2000

1004 RAM 4000 100 EXPRESSIO


N
1005 RAJU 6000 300
Expression Editor

TAX
Source (SAL+COMM)*0.10

EMPNO ENAME SAL comm.

1001 SMITH 1000 100

1002 ADAM 1500 200

1003 JOHN 2000

1004 RAM 4000 100


EXPRESSIO
1005 RAJU 6000 300 N
TAX
Source (SAL+COMM)*0.10

EMPNO ENAME SAL comm.

1001 SMITH 1000 100

1002 ADAM 1500 200

1003 JOHN 2000

1004 RAM 4000 100


EXPRESSION
1005 RAJU 6000 300
Expression Output
EMPNO ENAME SAL comm. Tax

1001 SMITH 1000 100 110

1002 ADAM 1500 200 170


Source 1003 JOHN 2000

EMPNO ENAME SAL comm.


1004 RAM 4000 100 410
1001 SMITH 1000 100
1005 RAJU 6000 300 630

1002 ADAM 1500 200

1003 JOHN 2000

1004 RAM 4000 100


EXPRESSION
1005 RAJU 6000 300
Handling Null value
EMPNO ENAME SAL comm. Tax

1001 SMITH 1000 100 110

1002 ADAM 1500 200 170


Source 1003 JOHN 2000

EMPNO ENAME SAL comm.


1004 RAM 4000 100 410

1001 SMITH 1000 100


1005 RAJU 6000 300 630

1002 ADAM 1500 200

1003 JOHN 2000

1004 RAM 4000 100


EXPRESSION
1005 RAJU 6000 300
Default Value

Source
EMPNO ENAME SAL comm.

1001 SMITH 1000 100

1002 ADAM 1500 200

1003 JOHN 2000

1004 RAM 4000 100


EXPRESSION
1005 RAJU 6000 300
Expression Output
EMPNO ENAME SAL Comm Tax

1001 SMITH 1000 100 110

1002 ADAM 1500 200 170


Source 1003 JOHN 2000 0 200

EMPNO ENAME SAL Comm


1004 RAM 4000 100 410

1001 SMITH 1000 100


1005 RAJU 6000 300 630

1002 ADAM 1500 200

1003 JOHN 2000


Handling null values
1004 RAM 4000 100
EXPRESSION
1005 RAJU 6000 300
Mapping
EXERCISES FOLLOWS . . .

END OF DAY1….

19-03-2019 103
Agenda of DAY2

- WORKING ON SRC AND TRG AS FLAT FILES

- WORKING ON MULTIPLE SOURCES

- WORKING WITH JOINS

- WORKING WITH SOURCE QUALIFIER

- WORKING WITH SRC & TRG AS XML


SRC – TRG FILES
SRC – TRG FILES

SRC TRG
(FLATFILE) (FLATFILE)

106
SOURCE FILE

SRC TRG
(FLATFILE) (FLATFILE)

107
SOURCE FILE

SRC TRG
(FLATFILE) (FLATFILE)

108
SOURCE FILE

SRC TRG
(FLATFILE) (FLATFILE)

109
SOURCE FILE

SRC TRG
(FLATFILE) (FLATFILE)

110
SOURCE FILE

SRC TRG
(FLATFILE) (FLATFILE)

111
TARGET FILE

SRC TRG
(FLATFILE) (FLATFILE)

112
TARGET FILE

SRC TRG
(FLATFILE) (FLATFILE)

113
TARGET FILE

Create empty
file
SRC TRG
(FLATFILE) (FLATFILE)

114
TARGET FILE

SRC TRG
(FLATFILE) (FLATFILE)

115
TARGET FILE

SRC TRG
(FLATFILE) (FLATFILE)

116
19-03-2019 117
19-03-2019 118
19-03-2019 119
EXERCISES FOLLOWS . . .

19-03-2019 120
ACTIVE

19-03-2019 121
RULES OF ACTIVE TRANSFORMATION

 All the PORTS are COMPULSORY to be


passed through this transformation
 Active transformation works at RECORD
level
 Active transformation can CONTROL the
flow of records
 No. of OUTPUT records <= INPUT records
 E.g. :- FILTER, JOINER, ROUTER…..

19-03-2019 122
ACTIVE TRANSFORMATIONS
EMPNO ENAME DEPTN
O
1001 SMITH 10
1002 ADAM 20
1003 JOHN 20
1004 RAM 30
1005 RAJU 10
ACTIVE TRANSFORMATIONS

DEPT10
EMPNO ENAME DEPT
NO

1001 SMITH 10

1005 RAJU 10
ACTIVE TRANSFORMATIONS

EMPNO ENAME DEPTN


O
DEPT10
1001 SMITH 10
EMPNO ENAME DEPT

1002 ADAM 20 INPUT ROWS VARIES NO

1003 JOHN 20 FROM OUTPUT ROWS 1001 SMITH 10

1004 RAM 30 1005 RAJU 10

1005 RAJU 10
LIST OF ACTIVE TRANSFORAMTIONS

 Source Qualifier Transformation


 Sorter Transformations
 Aggregator Transformations
 Filter Transformation
 Union Transformation
 Joiner Transformation
 Normalizer Transformation
 Rank Transformation
 Router Transformation
 Update Strategy Transformation

19-03-2019 126
PASSIVE

19-03-2019 127
RULES OF PASSIVE TRANSFORMATION

 All the PORTS are not COMPULSORY to be


passed through this transformation
 Passive transformation works at COLUMN
level
 Passive transformation cannot CONTROL
the flow of records
 No. of OUTPUT records = INPUT records
 E.g. :- EXPRESSION, SEQUENCE
GENERATOR …..

19-03-2019 128
PASSIVE TRANSFORMATION

EMPNO ENAME SAL Comm Tax

1001 SMITH 1000 100 110


EMPNO ENAME SAL Comm

1001 SMITH 1000 100 1002 ADAM 1500 200 170

1002 ADAM 1500 200 INPUT ROWS = OUTPUT 1003 JOHN 2000 0 200

1003 JOHN 2000


ROWS 1004 RAM 4000 100 410

1004 RAM 4000 100


1005 RAJU 6000 300 630

1005 RAJU 6000 300

19-03-2019 129
LIST OF PASSIVE TRANSFORAMTIONS

 Expression Transformation
 Sequence Generator Transformation
 Lookup Transformation
 Stored Procedure Transformation
 External Stored Procedure Transformation
 Java Transformation

19-03-2019 130
JOINER
JOINER

SRC1

JOINER TRG
TRANSFORMATION

SRC2

132
ENAME SAL DEPTNO

A 100 10

B 200 20

C 300 30

DEPTNO DNAME

10 X

20 Y

30 Z

40 W

133
ENAME SAL DEPTNO
DEPTNO1=DEPTNO
A 100 10

B 200 20
ENAME DNAME DEPTNO
C 300 30
A X 10

B Y 20
DEPTNO DNAME

C Z 30
10 X

20 Y

30 Z

40 W

134
ENAME SAL DEPTNO (MASTER OUTER JOIN)
DEPTNO1=DEPTNO(+)
A 100 10

B 200 20
ENAME DNAME DEPTNO

C 300 30
A X 10

B Y 20
DEPTNO DNAME
C Z 30
10 X

W 40
20 Y

30 Z

40 W

135
ENAME SAL DEPTNO
(DETAIL OUTER JOIN)
A 100 10 DEPTNO1(+)=DEPTNO

B 200 20
ENAME DNAME DEPTNO
C 300 30

D 400 50 A X 10

B Y 20
DEPTNO DNAME
C Z 30
10 X

D
20 Y

30 Z

40 W

136
137
EXERCISES FOLLOWS . . .

19-03-2019 138
SOURCE QUALIFIER
TRANSFORMATION
SOURCE QUALIFIER TRANSFORMATION
Source1 DEPT10
EMPNO ENAME DEPTNO EMPNO ENAME DEPTNO

1001 SMITH 10 1001 SMITH 10

1002 ADAM 20 1005 RAJU 10

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
SOURCE QUALIFIER TRANSFORMATION
Source1
EMPNO ENAME DEPTNO

1001 SMITH 10

1002 ADAM 20

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
SOURCE QUALIFIER TRANSFORMATION
Source1
EMPNO ENAME DEPTNO

1001 SMITH 10

1002 ADAM 20

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
SOURCE QUALIFIER TRANSFORMATION
Source1
EMPNO ENAME DEPTNO

1001 SMITH 10

1002 ADAM 20

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
SOURCE QUALIFIER TRANSFORMATION
Source1
EMPNO ENAME DEPTNO

1001 SMITH 10

1002 ADAM 20

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
SOURCE QUALIFIER TRANSFORMATION
Source1
EMPNO ENAME DEPTNO

1001 SMITH 10

1002 ADAM 20

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
SOURCE QUALIFIER TRANSFORMATION
Source1 DEPT10
EMPNO ENAME DEPTNO EMPNO ENAME DEPTNO

1001 SMITH 10 1001 SMITH 10

1002 ADAM 20 1005 RAJU 10

1003 JOHN 20

1004 RAM 30

1005 RAJU 10
EXERCISES FOLLOWS . . .

19-03-2019 147
XML Source

Registered Office Address: Provendw Consultants Private Limited, 2-1-461,463 flat no.201,
XML Source
XML Source
XML Source

CLICK NEXT
XML Source

CLICK FINISH
XML Source

METADATA OF
EMP_XML
XML TARGET
XML TARGET
XML TARGET
XML TARGET
XML TARGET
EXERCISES FOLLOWS . . .

END OF DAY2….

19-03-2019 160
Agenda of Day3

- WORKING WITH MFS

- WORKING WITH AGGREGATOR

- WORKING WITH SORTER

- WORKING WITH SEQUENCE GENERATOR

- WORKING WITH RANK

- WORKING WITH STORED PROCEDURE

- WORKING WITH LOOKUP


UNION USING SOURCE
QUALIFIER
EXERCISES FOLLOWS . . .

19-03-2019 167
Indirect File Load
Indirect Load

• Loading multiple source files of same structure


using one instance in the mapping.

• We need to create a mapping to use multiple


source files for one source instance.
SOURCE

EMPNO ENAME SAL EMPNO ENAME SAL


1001 SMITH 1000 1006 RAKESH 1500
1002 ADAM 2100 1007 JAMES 2300
1003 JOHN 1000 1008 VAMSHI 1700
1004 RAM 4000 1009 KIRAN 4000
1005 RAJU 6000 1010 ARJUN 8000
Mapping
Session Properties
Session Properties
Session Properties
Session Properties
Session Properties

EMPNO ENAME SAL


1001 SMITH 1000
1002 ADAM 2100
1003 JOHN 1000
1004 RAM 4000
1005 RAJU 6000
Session Properties

EMPNO ENAME SAL


1001
1006 SMITH
RAKESH 1000
1500
1002
1007 ADAM
JAMES 2100
2300
1003
1008 JOHN
VAMSHI 1000
1700
1004
1009 RAM
KIRAN 4000
1005
1010 RAJU
ARJUN 6000
8000
Session Properties

EMPNO ENAME SAL


1001
1006 SMITH
RAKESH 1000
1500
1002
1007 ADAM
JAMES 2100
2300
1003
1008 JOHN
VAMSHI 1000
1700
1004
1009 RAM
KIRAN 4000
1005
1010 RAJU
ARJUN 6000
8000
Session Properties
Session Properties
Session Properties
Session Properties
EXERCISES FOLLOWS . . .

19-03-2019 183
AGGREGATOR
AGGREGATOR

AGGREGATOR TRG
SRC

SORTER

185
SAL DEPTNO

100 10

200 20

300 10

186
SAL DEPTNO

100 10

200 20

300 10

187
CASE 1:

SAL DEPTNO
DEPTNO SAL
100 10
10 400
200 20
20 200
300 10

188
CASE 2:

SAL DEPTNO
DEPTNO SAL
100 10
10 400
200 20
20 200
300 10

189
190
EXERCISES FOLLOWS . . .

19-03-2019 191
RANK
RANK

RANK TRG
SRC TRANSFORMATION

193
ENAME SAL

A 100

B 200

C 300

194
ENAME SAL RANK ENAME SAL

A 100 1 C 300

B 200 2 B 200

C 300 3 A 100

195
196
EXERCISES FOLLOWS . . .

19-03-2019 197
SEQUENCE
TRANFORMATION
SEQUENCE TRANFORMATION

SEQUENCE TRG
SRC GENERATOR

199
ENAME SAL

A 100

B 200

C 300

200
ENAME SAL RANK ENAME SAL

A 100 1 A 100

B 200 2 B 200

C 300 3 C 300

201
202
EXERCISES FOLLOWS . . .

19-03-2019 203
STORED PROCEDURE
STORED PROCEDURE

 CREATE A PROCEDURE
STORED PROCEDURE

 CLICK ON
TRANSFORMATIONS

 SELECT IMPORT
STORED PROCEDURE
STORED PROCEDURE

 CLICK ON
TRANSFORMATIONS

 SELECT IMPORT
STORED PROCEDURE

 PROVIDE THE
CONNECTIONS

Note:Connections are
given in which stored
procedure is created
STORED PROCEDURE

 CLICK ON
TRANSFORMATIONS

 SELECT IMPORT
STORED PROCEDURE

 PROVIDE THE
CONNECTIONS

Note:Connections are
given in which stored
procedure is created

 CONNECT AND
SELECT THE
PROCEDURE
Mapping
EXERCISES FOLLOWS . . .

19-03-2019 210
LOOKUP

19-03-2019 211
List of Transformations

 Aggregator Transformation
 Expression Transformation
 Filter Transformation CONNECTED
 Joiner Transformation
 Lookup Transformation
 Rank Transformation
 Router Transformation UNCONNECTED
 Sequence Generator Transformation
 Stored Procedure Transformation
 Sorter Transformation
 Update Strategy Transformation
 xternal Transformation
 Union Transformation

19-03-2019 212
Differences
CONNECTED

Connected lookup receives input values


directly from mapping pipeline

19-03-2019 214
CONNECTED

Connected lookup receives input values


directly from mapping pipeline

19-03-2019 215
19-03-2019 216
EXERCISES FOLLOWS . . .

19-03-2019 217
UNCONNECTED
LOOKUP

19-03-2019 218
UNCONNECTED

An unconnected Lookup transformation is separate from


the pipeline in the mapping

We write an expression using the :LKP reference qualifier to call


the lookup within another transformation.

19-03-2019 219
UNCONNECTED

An unconnected Lookup transformation is separate from


the pipeline in the mapping

We write an expression using the :LKP reference qualifier to call


the lookup within another transformation.

19-03-2019 220
UNCONNECTED

An unconnected Lookup transformation is separate from


the pipeline in the mapping

We write an expression using the :LKP reference qualifier to call


the lookup within another transformation.

19-03-2019 221
UNCONNECTED

19-03-2019 222
Cache
EXERCISES FOLLOWS . . .

END OF DAY3 …..

19-03-2019 225
Agenda of DAY4

- WORKING WITH PARAMETERS AND


VARIABLES

- WORKING WITH UPDATE STRATEGY

- WORKING WITH LOOKUP ADVANCE(TYPES


OF CACHE)

- WORKING WITH TRANSACTION CONTROL

- WORKING WITH DEBUGGER


PARAMETERS

19-03-2019 227
 Create Parameter file as follows
[folder name.wf:workflow name.st:session name]
$$parameter name = value

19-03-2019 228
19-03-2019 229
19-03-2019 230
19-03-2019 231
EXERCISES FOLLOWS . . .

19-03-2019 232
Variables

19-03-2019 233
Variables

A mapping variable represents a value


that can change through the session

19-03-2019 234
19-03-2019 235
19-03-2019 236
19-03-2019 237
EXERCISES FOLLOWS . . .

19-03-2019 238
UPDATE STRATEGY

19-03-2019 239
UPDATE STRATEGY

EMPNO ENAME SAL EMPNO ENAME SAL


1001 SMITH 1000 1001 SMITH 1000
1002 ADAM 2100 1002 ADAM 2100
1003 JOHN 1000 1003 JOHN 1000
1004 RAM 4000 1004 RAM 4000
1005 RAJU 6000 1005 RAJU 6000
1006 SAJAN 10000
1007 MOHAN 7000

DD_INSERT

19-03-2019 240
UPDATE STRATEGY

EMPNO ENAME SAL EMPNO ENAME SAL


1001 SMITH 1000 1001 SMITH 1000
1002 ADAM 2100 1002 ADAM 2100
1003 JOHN 1000 1003 JOHN 1000
1004 RAM 4000 1004 RAM 4000
1005 RAJU 6000 1005 RAJU 6000
1006 SAJAN 10000
1007 MOHAN 7000

DD_INSERT

19-03-2019 241
UPDATE STRATEGY

EMPNO ENAME SAL EMPNO ENAME SAL


1001 SMITH 1000 1001 SMITH 1000
1002 ADAM 2100 1002 ADAM 2100
1003 JOHN 1000 1003 JOHN 2000
1004 RAM 4000 1004 RAM 4000
1005 RAJU 6000 1005 RAJU 3000

DD_UPDATE

19-03-2019 242
UPDATE STRATEGY

EMPNO ENAME SAL EMPNO ENAME SAL


1001 SMITH 1000 1001 SMITH 1000
1002 ADAM 2100 1002 ADAM 2100
1003 JOHN 1000 1003 JOHN 1000
1004 RAM 4000 1004 RAM 4000
1005 RAJU 6000 1005 RAJU 6000

19-03-2019 243
UPDATE STRATEGY

EMPNO ENAME SAL EMPNO ENAME SAL


1001 SMITH 1000 1001 SMITH 1000
1002 ADAM 2100 1002 ADAM 2100
1003 JOHN 1000 1003 JOHN 1000
1004 RAM 4000 1004 RAM 5000
1005 RAJU 6000 1005 RAJU 6000
1006 SAJAN 10000
1007 MOHAN 7000
DD_INSERT &
DD_UPDATE

19-03-2019 244
UPDATE STRATEGY
EMPNO ENAME SAL
1001 SMITH 1000
1002 ADAM 2100
1003 JOHN 1000
1004 RAM 4000
1005 RAJU 6000

EMPNO ENAME SAL


1001 SMITH 1000
1002 ADAM 2100
1003 JOHN 1000
1004 RAM 4000
1005 RAJU 6000
EXERCISES FOLLOWS . . .

19-03-2019 246
NORMALIZER
NORMALIZER

SRC NORMALIZER TRG

248
NORMALIZER

The Normalizer transformation receives a row that


contains multiple-occurring columns and returns a row
for each instance of the multiple-occurring data

SRC NORMALIZER TRG

249
NORMALIZER

The Normalizer transformation receives a row that


contains multiple-occurring columns and returns a row
for each instance of the multiple-occurring data

NO NAME SAL

NO NAME SAL1 SAL2 1001 Raju 5000

1001 Raju 8000


1001 Raju 5000 8000
1001 Raju 10000

1002 Ravi 6000 7000


1002 Ravi 6000

1002 Ravi 7000

1002 Ravi 11000

250
NORMALIZER

SRC NORMALIZER TRG

MAKES OCCURS
AS 2

251
19-03-2019 252
Transaction Control
Agenda of DAY6
- TRANSFORMATION DEVELOPER

- MAPPLET

- REUSABLE SESSION

- WORKLET

- EVENT WAIT/EVENT RAISE

- COMMAND TASK

- EMAIL TASK

- CONTROL

- SCHEDULING

- DEPLOYMENT
Transformation Developer
Transformation Developer

Click on Transformation Developer


Transformation Developer

1. Go to Transformation in menu tab

2. Click on create
Transformation Developer

Select the transformation

Enter transformation name

Click on create
Transformation Developer

Reusable transformation is
created
Transformation Developer

Create new port

Check the datatype


Transformation Developer

Give the filter condition


Transformation Developer
EXERCISES FOLLOWS . . .

19-03-2019 266
MAPPLET
MAPPLET
MAPPLET

1. GO TO MAPPLETS OPTION IN MENU TAB

2. CLICK ON CREATE
MAPPLET

SELECT MAPPLET INPUT & OUTPUT


MAPPLET
MAPPLET

CREATE 2 PORTS
MAPPLET

CREATE TSAL COLUMN AS OUTPUT PORT


MAPPLET

MAPP TSAL TO MAPPLET OUTPUT TRANSFORMATION


MAPPLET

DRAG AND DROP MAPPLET INTO MAPPING


EXERCISES FOLLOWS . . .

19-03-2019 276
Re-usable Session
EXERCISES FOLLOWS . . .

19-03-2019 283
WORKLET
WORKLET
EXERCISES FOLLOWS . . .

19-03-2019 286
• Create the workflow using the reusable session
WORKFLOW MANAGEMENT

• SEQUENTIAL
• PARALLEL
• CONDITIONAL
SEQUENTIAL
PARALLEL
PARALLEL
CONDITIONAL
CONDITIONAL
EXERCISES FOLLOWS . . .

19-03-2019 295
COMMAND TASK
EVENTRAISE TASK
EVENTRAISE TASK
EVENTWAIT TASK
CONTROL
CONTROL
CONTROL
SCHEDULING
SCHEDULING
SCHEDULING
SCHEDULING
DEPLOYMENT
DEPLOYMENT

SELECT WORKFLOWS IN REPOSITORY MANAGER


DEPLOYMENT
DEPLOYMENT
OBJECTS EXPORTED
IMPORTING OBJECTS
IMPORTING OBJECTS

IMPORT XML FILE FROM THE PATH


IMPORTING OBJECTS
IMPORTING OBJECTS
CLICK NEXT
CLICK ON CLOSE
EXERCISES FOLLOWS . . .

19-03-2019 321