Informatica Load From Flat File
Informatica Load From Flat File
Informatica Load From Flat File
1
Building Financial Data Mode - Lab#1 Hands-on Guide Loading Data from Flat Files
Description:
BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to-end Hands-on Guide for building financial data model in Informatica. This is one of our documents from Informatica learning series.
History:
Version 0.1 0.1 Description Change Initial Draft Review#1 Author Upendra Upadhyay Amit Sharma Publish Date 1st July 2011 1oth July 2011
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 1
TABLE OF CONTENTS
S.NO 1 2 3 4 5 6 Introduction. Creating Repository & Folder. Import database. Create Mapping. Create Workflow. Workflow Monitor & Review data. TITLE PAGE. NO. 3 4-7 8-18 19-22 23-28 29-30
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 2
Introduction
Flat file Transformation in Informatica
A flat file is a collection of information stored and accessed sequentially in a database, often created to store information in a non-structured way. Comma Separated Value (CSV) sheets, for example, present information with each field separated from the next by a comma. While a flat file system offers some advantages, it often makes large amounts of data quite cumbersome to store and access. The majority of databases used today are relational systems that use structured queries to retrieve information and present it to the user.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 3
Target Table.
Source : For the above table the data source is flat file.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 4
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 5
Step-3 Give information like Repository Name and Username. Then click on ok button and repository created successfully.
Step-4 Now connect repository. Right click on newly created repository and click on connect.
www.bispsolutions.com
| www.hyperionguru.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 Specify Name of Folder, Description, Owner, OS Profile, Options, Status and got to permissions tab.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 7
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 8
Step-1 Click on Start -> All Programs -> Informatica 9.0.1 -> Client -> Power Center Client -> Power 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.hyperionguru.com | www.bisptrainings.com
Page 9
Step-3 Go to Tools Menu and click on Source Analyzer to import source table.
Step-5 And then click on Source menu and select Import from file.
www.bispsolutions.com
| www.hyperionguru.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.hyperionguru.com | www.bisptrainings.com
Page 11
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 12
Step-10 Them apply (Step-4 to Step -9) to import all Flatfile. Step-11 This is Source table.
Step-12 Now Create Primary Key, Right click on Table and select Edit.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 13
Step-14 Click on Key Type and select Primary Key and OK.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 14
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 15
Step-17 Select Key Type and also specify its primary table and primary columns.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 16
Step-20 Now click on Target Designer. Step-21 And then select Target menu and click on Import from database to import target table.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 17
Step-22 Specify Username, Owner name, password and then click on connect and then select table and then OK.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 18
Step-24 To view data select table and Right click on that table after that specify Username and Password and then connect it. Then Close
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 19
CREATE MAPPING
Step-1 Go to Mapping Designer click OK. and Create New Mapping and then name of mapping and
Step-2 Then drag and drop source and target data in Mapping Designer.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 20
Step-6 Mapping.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 21
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 22
CREATE WORKFLOW
Step-1 Now go to Informatica Power Center Workflow Manager, and go to Tools menu and select Workflow Designer.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 23
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.hyperionguru.com | www.bisptrainings.com
Page 24
G
Step-6 Select Mapping to associate with the session.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 25
Step-8 Now create flow B/W Workflow to Task. Select Line Task and link to Start to Filter.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 26
Step-10 Now Configure Connection to Target, Then Right Click on Expression and Edit, Then Click Mapping tab and configure connection for your Target table schema in oracle 11g RDBMS. And then click OK.
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 27
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 28
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 29
Step-4 Now view data in Target RDBMS (Oracle 11g) for table TRG_IRCS
Step-4 Now view data in Target RDBMS (Oracle 11g) for table TRG_Accrual_Basic_CD.
Step-4 Now view data in Target RDBMS (Oracle 11g) for table TRG_Currencies
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 30
Step-4 Now view data in Target RDBMS (Oracle 11g) for table TRG_IRC_FORMAT_CD.
Step-4 Now view data in Target RDBMS (Oracle 11g) for table TRG_COMPOUND_BASIS_cD
www.bispsolutions.com
| www.hyperionguru.com | www.bisptrainings.com
Page 31