Informatica Power Center 9.0.1 Building Financial Data Mode - Lab#6 Hands-on Guide Implementing Router Transformation
Description: BISP is co BISP comm mmit itte ted d to pr prov ovid idee BE BEST ST le lear arni ning ng ma mate teri rial al to th thee be begi ginn nner erss and advance learners. In the same series, we have prepared a complete end-to-end Hands-on Hands -on Guide for build building ing financial financial data model in Inform Informatic atica. a. The document focuses on how the real world requirement should be interpreted. The mapping docu do cume ment nt te temp mpla late te wi with th ve very ry si simp mpli lifi fied ed st step epss an and d sc scre reen en sh shot otss ma make kess th thee comp co mple lete te le lear arni ning ng so ea easy. sy. Th Thee do docu cume ment nt fo focu cuse sess on im impl plem emen enti ting ng Ro Rout uter er Transformation. Join our professional training program and learn from experts.
History:
Version 0.1 0.1
Description Change Initial Draft Review#1
www.bispsolutions.com www.bispsolutions.co m
Author Upendra Upadhyay Amit Sharma
Publish Date 1st July 2011 10th July 2011
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 1
TABLE OF CONTENTS S.NO
TITLE
PAGE. NO.
1 Introduction.
3-4
Repository y & Folder . 2 Creating Repositor
5-8
Source. 3 Import Data Source.
9-18
Transformation. 4 Create Mapping and implementing Router Transformation.
19-24
Workflow. 5 Create Workflow.
25-31
6 Workflow Monitor & Review data.
32-33
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 2
Introduction Router Transformation in Informatica. Informatica. Router transformation is an active and connected transformation. It is similar to the filter transformation used to test a condition and filter the data. But in a filter transformation, you can specify only one condition and drops the rows that do not satisfy the condition, condition, where as in a router transformat transformation, ion, you can specify specify more than one condition and provides the ability for route the data that meet the test condition.
Filter Condition.
Source Table.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 3
Target Table.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 4
Creating Repository and Folder
Creating Repository & Connecting it. Step-1 First create repository, Click on Start -> All Programs Programs -> Informatica 9.0.1 -> Client -> Power Center Client -> Power Center Repository Manager.
Step-2 Then click on Repository Menu and click on Add Repository.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 5
Give inform informati ation on like like Reposit Repository ory Name Name and Userna Username. me. Then click click on ok button button and Step-3 Give repository created successfully.
Step-4 Now connect repository. Right click on newly created repository and click on connect.
Step-5 Give Username & password and click on Connect.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 6
Creating Folder. Step-1 Go to Informatica Power Center Repository Manager and click on Folder Menu and click on Create.
Step-2 Specif Specify y Name Name of Folder Folder,, Descri Descripti ption, on, Owner, wner, OS Prof Profil ile, e, Opti Option ons, s, Stat Status us and and got to permissions tab.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 7
Step-3 This is permission tab to give permission for this folder.
Step-4 This is newly created Folder
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 8
Importing Source and Target Table
Informatica 9.0.1 -> Client -> Power Center Center Client -> Power Step-1 Click on Start -> All Programs -> Informatica Center Designer..
Step-2 Then Connect to Repository in Informatica Power Center Designer Right click on repository name and click on Connect.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 9
Step-3 Go to Tools Menu and click on Source Analyzer to import source table.
Step-4 And then go to Sources Menu in Informatica Power Center Designer.
Step-5 And then click on Source menu and select Import from file.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 10
Step-6 Select Flat file which you want to import, Select location in Look in and select file and click OK.
Step-7 Choose the file type - Delimited, click on Import field names from first line. and the click Next.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 11
Step-8 Specify Delimiters and click Next Button.
Step-9 Specify Name of Column and Click Finish.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 12
Step-11 This is Source table.
Step-12 Now right click on table to see Preview Data.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 13
Step-13 Select Flatfile Location and open it.
Step-14 Now click on Target Designer. Step-15 And then select Target menu and click on Import from database to import target table.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 14
Step-16 Specify Username, Owner name, password and then click on connect and then select table and then OK.
Step-17 Target table in Target Designer.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 15
Step-18 To Preview Data select table and Right click on that table and the specify Username and Password and then connect it. Then Close.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 16
Step-19 To Preview Data, select table and Right click on that table and the specify Username and Password and then connect it. Then Close.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 17
Step-20 To Preview Data, select table and Right click on that table and the specify Username and Password and then connect it. Then Close.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 18
CREATE MAPPING Mapping Designer Designer Step-1 Go to Mapping click OK.
and Create Create New Mapping Mapping and then name of mapping mapping and
Step-2 Then drag and drop source and target data in Mapping Designer.
Step-3 Now, Create Transformation, Click on Transformation menu and select Create.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 19
Step-4 Select Transformation and name of transformation.
Step-5 Then drop all column from SQ_SRC_IRCS Table to Router Transformation table.
Step-6 Now, Right click on Router Transformation and select Edit.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 20
Step-7 Go to Groups tab.
Step-8 Add group and Insert name of Group and Write Condition in Group Filter Condition.
Step-9 Filter Condition for USD_Currency and Validate it.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 21
Step-10 Write all Group filter condition and click on Apply and OK.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 22
Step-11 Then Create Mapping.
Step-12 Iconize view of mapping.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 23
Step-13 Save this mapping.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 24
CREATE WORKFLOW Step-1 Now go to Informatica Power Center Workflow Manager, and go to Tools menu and select Workflow Designer.
Step-2 Now to create workflows, Go to Workflows menu and select Create. After that Name of workflow and click OK buttons.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 25
Step-3 Now, workflow created.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 26
Step-4 Now create Task, Go to Tasks Menu and click Create.
Step-5 Select session and insert Name of task.
G Step-6 Select Mapping to associate with the session.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 27
Step-7 Workflow Designer Window.
Step-8 Now create flow B/W Workflow to Task. Select Line Task and link to Start to Filter.
Step-9 Work Flow Designer Windows.
Step-10 Now Configure Connection to Target, Then Right Click on Expression and Edit, Then Click Mapping Mapping tab and configure configure connection connection for your Target table table schema in oracle 11g RDBMS. And then click OK.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 28
Step-11 Go to Mapping tab.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 29
Step-11 Select DB Connection for Source and Target Relation Database and set property.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 30
Step-12 Now save (ctrl+s) this workflow and check it.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 31
WORKFLOW MONITOR AND VIEW TARGET DATA
Step-1 Now Start Task, Right click on Task and Click on Start Task.
Step-2 Check session in Informatica PowerCenter Workflow Monitor.
Step-3 Session log.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 32
Step-4 Now view data in Target RDBMS (Oracle 11g) for table TRG_IRCS_HKD
Step-5 Now view data in Target RDBMS (Oracle 11g) for table TRG_IRCS_INR
Step-6 Now view data in Target RDBMS (Oracle 11g) for table TRG_IRC_USD
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 33