Source Analyzer

Source Analyzer and Target Designer in Informatica

Source Analyzer – The first tool in PowerCenter Designer,  is used to identify the sources that will be used to build the data mart or warehouse and create definitions for those sources. Source definitions describe the sources that are going to be providing data to the warehouse. There are different ways to create source definitions.

        • Import from Database
        • Import from File
        • Import from COBOL File
        • Import from XML
        • Create manually and more..

In this article let’s see how we can create source definition in different ways.

Try creating your Source Definition.

Please follow the steps below for you to get familiarize with PowerCenter Source Analyzer.

I. Getting connected to PowerCenter Designer

  1. START PROGRAMS | INFORMATICA POWERCENTER CLIENT | DESIGNER.
  • You can connect to the repository in the following ways:
    • Double click on the repository
    • Select the repository and select the menu option REPOSITORY | CONNECT
    • Select the repository and click on the icon

1

  1. Enter your User Name and Password to LogOn.
  2. Once you are connected you can see your folder name appearing in the Navigator window.
  3. To open the folder, right click on the folder and select Open.

Note : An open folder is required in order to add, delete or modify objects. All of the work is performed in the Workspace Window, to the right of the Navigator Window (i.e. – Where the tools such as the Source Analyzer, Warehouse Designer,Mapplet Designer, etc., are active). The objects created in the Workspace, will appear in the Navigator Window.

  1. To view all objects in the folder, click on the + sign.

2

II. Working with Source Analyzer

  1. In the Designer’s Navigator Window, highlight your folder and select TOOLS | SOURCE ANALYZER or open the folder. This opens the Source Analyzer window. You can also click on the Source Analyzer button shown below to open Source Analyzer

3

2. Notice the folder name and the repository names are displayed in the application               title bar and Open Folders drop down list.

4

III. Importing Source from Database

  1. Select SOURCES | IMPORT FROM DATABASE

i. The Import tables dialog box appears

5

ii. Click on the 6 icon, to create the data source.

7

iii Click on Add in the ODBC Data Source Administrator box

7

iv. Select the DataDirect Closed 4.20 Oracle driver and enter the Data Source Name, Description and Server Name

9

v. Click on Test Connect to test connectivity. Enter the following information:

  • Username: Your database user name
  • Password: Your database password

10.png

vi. If the connection to the database is successful, click on Apply or OK.

  1. Select the ODBC data source from the pull down list, which corresponds to the location of the tables.

Note: Designer will fill in Owner name. In case of Oracle database.

  1. Click on Connect after providing all the details as shown in figure below.
  2. In the Select Tables box, expand the owner name until you see a TABLES listing.
  3. Select the EMPLOYEES table.

HINT: To select multiple tables, press the Ctrl key while selecting each table with a single mouse click.

11.png

  1. Click OK. The source table definition now appear in the Source Analyzer workbook

Note: Using Designer’s Navigator Window, notice the source definition has also been added to the Source section, or node, in your folder.

IV. Verify the source definitions.  

In the Source Analyzer workbook, for the source definition, expand the Key Types column.

12.png

HINT: When the source definitions are in normal mode, hold the mouse over the separator between the Key Types column and the Name column. When the mouse turns into a bold double-arrow, click and drag the mouse to the right to expand the column.

V. Edit Source Definitions

  1. In the Source Analyzer workbook, double-click on the EMPLOYEES table. The Edit Tables dialog box appears.
  2. Select the Table tab. In the Description Window, enter:“This is the EMPLOYEES source table containing data of employees in the company”

13

3. Select the Columns tab.
4. Select the DEPT_ID column name.

HINT: Click in the Column Name column on the DEPT_ID line

5. In the Description window, type: “This is the department id to which the employee belongs”

14.png

4. If you want to enter comments for additional columns, repeat the above steps.
5. Click on OK to save the comments and close the Edit Tables dialog box.
6. Select REPOSITORY | SAVE to save your folder in the repository.

Continue reading about Target Designer

%d bloggers like this: