Logo DWBI.org Login / Sign Up
Sign Up
Have Login?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Login
New Account?
Recovery
Go to Login
By continuing you indicate that you agree to Terms of Service and Privacy Policy of the site.
Informatica

Informatica Excel Source

 
Updated on Sep 30, 2020

This article is a guide on how to Unload data from EXCEL workbook to target relational database using Informatica.

Excel as a Source

Follow the instructions below on how to extract data from excel file

  • Define Range in Excel:

    - File Name: EXCEL_FILE
    - Path: PowerCenter8.6.1\server\infa_shared\SrcFiles [File is on ETL Server]
Define Excel Range
Define Excel Range

A range should be defined containing the data in the excel workbook like below and then save the workbook.

Define Excel Range Name
Define Excel Range Name

This defined name “DEPT” will be treated as relational table by informatica.

  • System DSN creation:

    - DSN Name: DSN_EXEL_FILE
Define System DSN
Define System DSN
Select the Workbook
Select the Workbook
Excel File
Excel File
  • Importing data definition of Excel in Source Analyzer:

Since Informatica treats MS Excel file as a database, Import from Database needs to be selected.

Informatica Source Analyzer
Informatica Source Analyzer

System DSN created above should be selected. No username/password is required here.

Connect DSN
Connect DSN
Import Table
Import Table

DEPT needs to be selected and OK should be clicked to import the source definition. After import Data types and Precision can be changed accordingly.

Table Definition
Table Definition

[N.B.: range name that is defined in excel is the table name]

Mapping needs to be created with the imported source.

Mapping Designer
Mapping Designer
  • Creation of Connection in Workflow Manager:

A relational ODBC type connection should be created.

Relational Connection
Relational Connection

Session level Connection should be created with below details:

- Username: PmNullUser
- Pwd: PmNullPasswd
- Connection String:

Connection Object Definition
Connection Object Definition
Session Properties
Session Properties

And create a workflow to run the mapping.

Workflow
Workflow

Limitations:

  1. Manual intervention is required to select the range in Excel.
  2. Different DSN and Connection should be made for different excel workbook.
  3. Need to have Microsoft Excel Driver under PowerCenter8.6.1\ODBC5.2

NOTE: Excel 2007 Table as Source

Create Table/ Define Name in MS Excel 2007:-

  • Create the data set in MS Excel sheet 2007
Excel 2007
Excel 2007
  • Select the data set
Excel 2007 data set
Excel 2007 data set
  • Go to Insert and then Table tab.
Excel 2007 Table
Excel 2007 Table
  • Create the table and then Name the table
Excel 2007 Table
Excel 2007 Table
  • Finally Save the sheet in 2007 format.
Excel 2007 Table as Source
Excel 2007 Table as Source
PrimeChess

PrimeChess.org

PrimeChess.org makes elite chess training accessible and affordable for everyone. For the past 6 years, we have offered free chess camps for kids in Singapore and India, and during that time, we also observed many average-rated coaches charging far too much for their services.

To change that, we assembled a team of top-rated coaches including International Masters (IM) or coaches with multiple IM or GM norms, to provide online classes starting from $50 per month (8 classes each month + 4 tournaments)

This affordability is only possible if we get more students. This is why it will be very helpful if you could please pass-on this message to others.

Exclucively For Indian Residents: 
Basic - ₹1500
Intermediate- ₹2000
Advanced - ₹2500

Top 10 Articles