Informatica Power Center 9.0.1 Building Financial Data Mode - Lab#10 Hands-on Guide on Designing Rank 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 compl pleete learning so easy. The document focuses on designing Rank Transformation. Join our professional training program and learn from experts.
History: Version 0.1 01.
Description Change Initial Draft Review#1
www.bispsolutions.com www.bispsolutions.co m
Author Upendra Upadhyay Amit Sharma
Publish Date 10th Jul 2011 12th July 2011
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 1
TABLE OF CONTENTS S.NO
TITLE
PAGE. NO.
1
Introduction.
3-8
2
Creating Repositor Repository y & Folder.
9-12
3
Import Impo rt Datab atabase. ase.
13-19
4
Create Mapping And And Defining Rank Transformation
20-25
5
Create Workflow.
26-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 Rank in Informatica. The Rank transformation allows us to select only the top or bottom rank of data. It Allows us to select a group of top or bottom values, not just one value. Rank Transformation.
Process of Rank Transformation.
Description. A Source Qualifier Transformation. Used Oracle 11g as a source database. •
•
Used Oracle 11g as a target database.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 3
Actual Mapping - This is mapping for source and target column and CHARGE_OFF_BAL adjust to a rank.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 4
Source Table(Model).
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 5
Target Table.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 6
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 7
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 8
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 9
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 10
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 11
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 database.
Step-6 Specify Username, Owner name, password and then connect. www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 12
.
Step-7 Then select source table and click OK.
Step-8 These table's are extracted from source database. www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 13
Step-9 View data in source analyzer, Right click on SRC_CreditCard and select Preview Data.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 14
Step-10 Specify Username and Password and connect it. Then Close it.
Step-11 Now click on Target Designer. Step-12 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 15
Step-12 Specify Username, Owner name, password and then click on connect and then select table and then OK.
Step-13 Target table in Target Designer.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 16
Step-14 To view data select table and Right click on that table after that specify Username and Password and connect it. Then Close it.
Step-15 Target data.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 17
CREATE MAPPING AND RANK TRANSFORMATION Step-1 Go to Mapping Mapping Designer Designer 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.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 18
Step-3 Then create transformation, Click on Transformation menu and select Create. Then select Rank in dropdown and give name of transformation transformation and click Create and then click Done.
Then drag drag and drop drop all SQ_SRC SQ_SRC_CR _CREDI EDITCA TCARD RD Source Source Qualif Qualifier ier column column into into Filter Filter Step-4 Then Transformation table and then Right click on Rank Transformation select.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 19
Step-5 Clink on Ports tab.
Step-6 In the ports tab, check the Rank (R) option for the port which you want to do ranking. You can check the Rank (R) option for only one port. Here Rank by CHARGE_OFF_BAL to Top to Bottom.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 20
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 21
Step-7 In the Properties tab, Configuring the following Rank Transformation Properties and then click Apply button and then click OK. •
• • • • •
•
Directory is, where where the integration integration service service creates the index index and Cache Directory Directory : Cache Directory data cache files. Top/Bottom : Specify whether you want to select the top or bottom rank of data. Number of Ranks : specify the number of rows you want to rank. Case-Sensitive String Comparison : Used to sort the strings using case sensitive or not. Tracing Level : Amount of logging to be tracked in the session log file. bytes. You can set a Rank Data Cache Size: The data cache size default value is 2,000,000 bytes. numeric value, or Auto for the data cache size. In case of Auto, the Integration Service determines the cache size at runtime. Rank Index Cache Size : The index cache size default value is 1,000,000 bytes. You can set a numeric value, or Auto for the index cache size. In case of Auto, the Integration Service determines the cache size at runtime.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 22
Step-8 Now connect the ports of rank transformation to the target definition.
Step-9 Complete Mapping Diagram.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 23
it (ctrl+s) and check mapping is VALID. Step-10 And then save it
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
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 26
Step-3 Now create Task, Go to Tasks Menu and click Create.
Step-4 Now select session and insert Name of task.
G
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 27
Step-5 Select Mapping to associate with the session.
Step-6 Workflow Designer Window.
Step-7 Now create flow B/W Workflow to Task. Select Line Task and link to Start to Filter.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 28
Step-8 Work Designer Windows
Step-9 Now Configure Connection to Source and Target, Then Right Click on Filter and Edit, Then Click Mapping tab and configure connection for your source and target 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 29
Step-10 Select DB Connection for Source and Target Relation Database.
Step-11 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 30
WORKFLOW MONITOR AND VIEW TARGET DATA
Step-1 Now Start Workflow, Right click on Workflow Designer Window and Click on Start Workflow.
Step-2 Check session in Informatica PowerCenter Workflow Monitor.
Step-2 Session log.
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 31
Step-3 Now view data in Target RDBMS (Oracle 11g)
www.bispsolutions.com www.bispsolutions.co m
| www.hyperionguru.com | www.bisptrainings.com www.bisptrainings.com
Page 32