---
description: A mapping is a collection of source and target objects linked together by a set of transformations. These transformations consist of a set of rules, which define the data flow and how the data is load
title: "Mapping in Informatica: Create, Components &#038; Parameters"
image: https://www.guru99.com/images/mapping-in-informatica.png
---

[Skip to content](#main)

**⚡ Smart Summary**

Mapping in Informatica is the object that links source definitions to target definitions through transformations, defining exactly how each column of data is read, changed and loaded during an ETL session run.

- 🔗 **Building blocks:** Sources, transformations, targets and the links between them make up every mapping.
- 📦 **Stage mappings:** A stage mapping copies a source table into an identical staging table, keeping ETL off production.
- 🧲 **Source qualifier:** Dragging a relational source into a mapping always creates a source qualifier that must never be deleted.
- 🔄 **Autolink:** Autolink by name connects matching source and target columns in a single action.
- 📏 **Parameters:** A mapping parameter holds one constant value for the whole run, set through a parameter file.
- 📊 **Variables:** A mapping variable changes during the run and its final value is saved to the repository.

Read More

![Mapping in Informatica]()

## What is a Mapping?

A mapping is a collection of source and target objects linked together by a set of transformations. These transformations consist of a set of rules, which define the data flow and how the data is loaded into the targets.

A mapping consists of the following set of objects:

- **Source Definition** – a [source definition](https://www.guru99.com/source-analyzer-and-target-designer-informatica.html) defines the structure and characteristics of the source, its underlying data types, the type of the data source, and so on.
- **Transformation** – [transformation](https://www.guru99.com/introduction-transformations-informatica-and-filter-transformation.html) objects define how the source data is transformed, and various functions can be applied during the process.
- **Target Definition** – the target definition defines the final target where the data will be loaded.
- **Links** – links connect the source definition to different transformations and target tables. They define how the data flows from source to target and through the transformations.

## Why do you need Mapping?

A mapping is an object in Informatica with the help of which you can define how the source data is modified before it reaches the destination or target object. For example, if you have an employee name stored as “Bill Clinton” in your source system and the target system requires the employee name in the format “Clinton Bill”, such operations can be designed at the mapping level. In basic terms, what you do with the source data is defined at the mapping level.

A mapping is the basic Informatica object with the help of which we can define the data transformation details and source/target object characteristics. Mappings help us to define the data transformation at the individual column level for each row. Even in a single mapping you can handle multiple sources and targets.

## Components of Mapping

The basic components of a mapping are:

- Source tables
- Mapping parameters and variables
- Target objects
- Mapping transformations

There are various objects that constitute a mapping. A mapping can consist of sources, targets, mapping parameters and variables, mapplets, various transformations, and user-defined functions.

- **Mapping Source:** mapping sources are the objects from where you fetch the source data. A source can be a database table, a flat file, an XML source or a [COBOL](https://www.guru99.com/learn-cobol-programming-tutorial.html) file source.
- **Mapping Target:** the mapping target is the destination object where the final processed data gets loaded. A mapping target can be a relational table of a database, a flat file or an XML file. Sources and targets are mandatory in any mapping, although their type can differ.
- **Mapping Parameters and Variables:** mapping parameters and variables help you create temporary variable objects that let you define and store temporary values while the mapping processes data. Mapping parameters and variables are optional, user-defined data types which can be created for a mapping and can be referenced and updated for a specific requirement. We will learn more about mapping parameters and variables in this section.
- **Mapplets:** mapplets are objects which consist of a set of transformations, sources or targets. Mapplets are generally created to reuse the existing functionality of a set of transformations. A mapplet can be used in any number of mappings.

## What is Stage Mapping?

A stage mapping is a mapping in which we create a replica of the source table. For example, in a production system, if you have an “employee” table then you can create an identical table “employee\_stage” in the [ETL](https://www.guru99.com/etl-extract-load-process.html) schema.

Having a local stage table offers various advantages. Production downtime will not affect your ETL system, because you have your own “employee\_stage” table instead of referring to the production “employee” table. In a production system, there can be other operations and processes which affect performance. However, when you have a replica staging table, only ETL processes will access it. This offers performance benefits.

In stage mappings,

- Source and target tables have identical structures
- The data in the target table is a replica of the source table data, or
- Data in the stage (target) table is a subset of the source data.

For example, if your source table contains employee details of deptno 10, 20, 30, and 40, the staging table can be a table having employee records of deptno 10 & 30 only.

Stage tables in a [data warehouse](https://www.guru99.com/data-warehousing.html) make data transformation efficient by fetching only the data relevant to us, and minimize the dependency of the ETL/data warehouse on the real-time operational system.

**Don't Miss:**

- [Informatica PowerCenter Tutorial: Architecture Diagram & Components](https://www.guru99.com/informatica-architecture-tutorial.html)
- [How to Download & Install Informatica PowerCenter](https://www.guru99.com/install-informatica-powercenter.html)
- [Router Transformation in Informatica: Multiple Conditions Example](https://www.guru99.com/router-transformation-informatica.html)
- [Informatica Cloud Tutorial PDF for Beginners (Free Download)](https://www.guru99.com/informatica-tutorial-pdf.html)

## How to Create a Mapping

In this exercise, we will create a stage mapping, in which the source will be the “emp” table and the target will be “emp\_target”. The mapping is built in the workspace shown below.

[![Mapping Designer workspace used for the stage mapping exercise]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI1.png)

**Naming convention** – mapping names are prefixed with ‘m\_’ followed by the source and target table names separated by an underscore sign.

**Example** – if you are loading the emp\_target table from the emp table, then the mapping name can be ‘m\_emp\_emp\_target’.

**Step 1)** Launch Mapping Designer.

1. Open the Informatica Designer tool
2. Click on the Mapping Designer icon to launch Mapping Designer

The icon sits on the Designer toolbar, as shown below.

[![Mapping Designer icon on the Informatica PowerCenter Designer toolbar]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI2.png)

**Step 2)** In Mapping Designer:

1. Click on the Mappings menu
2. Select the Create option

[![Mappings menu open in Mapping Designer with the Create option selected]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI3.png)

**Step 3)** Enter the mapping name as ‘m\_emp\_emp\_target’ and select the OK button.

[![Mapping name dialog with m\_emp\_emp\_target typed in]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI4.png)

The mapping will be created and listed under the Mappings folder in the repository navigator.

[![New mapping m\_emp\_emp\_target listed under the Mappings folder]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI5.png)

A mapping must have at least a source and a target, so you will now add both.

**Step 4)** In this step we will:

1. Select the “emp” source table under the Sources folder.
2. Drag and drop the “emp” table into Mapping Designer.

[![emp source table being dragged from the Sources folder into Mapping Designer]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI6.png)

In Mapping Designer, the imported source table is shown with its source qualifier.

[![Imported emp source table shown next to the SQ\_EMP source qualifier]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI7.png)

**Note** – when you import any relational (database) table into a mapping, an additional object of source qualifier type will also be created. This source qualifier transformation is necessary and helps the Informatica [Integration Service](https://www.guru99.com/informatica-architecture-tutorial.html) identify the source database table and its properties. Whenever you import a source table, a source qualifier transformation will also be created. You should never delete a source qualifier object in a mapping.

**Step 5)** In this step we will:

1. Select the “emp\_target” target table under the Targets folder.
2. Drag and drop the “emp\_target” table into Mapping Designer.

[![emp\_target definition selected under the Targets folder in the navigator]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI8.png)

In Mapping Designer, the “target table” will be imported and shown.

[![emp\_target table displayed alongside the source in the Mapping Designer workspace]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI9.png)

To manage the view space, you can iconize these objects in the mapping.

**Step 6)** Right-click anywhere in the empty Mapping Designer workspace and select the option – Arrange all Iconic.

[![Workspace right-click menu showing the Arrange all Iconic option]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI10.png)

After selecting the option “Arrange all Iconic”, the workspace will look like this.

[![Source, source qualifier and target objects reduced to icons in the workspace]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI11.png)

**Step 7)** In Informatica, we design with the flow running from left to right. So source tables should be on the left side, and target tables should be on the right. To arrange the tables in our workspace, select the “emp\_target” table, then drag and drop it to the right side of the emp table.

[![emp\_target icon being dragged to the right of the emp table icon]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI12.png)

After this rearrangement, the workspace will look like this.

[![Workspace with the source objects on the left and the target on the right]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI13.png)

**Note** – periodically use the “Ctrl+S” shortcut to save changes to the repository.

**Step 8)** Now you have source and target tables in your mapping, but the mapping is not yet complete. The source and target tables should be linked to complete a mapping. To link the source and targets, double-click on the SQ\_EMP and EMP\_TARGET objects to change their view from iconic to graphic.

[![SQ\_EMP and EMP\_TARGET switched from iconic view to graphic view]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI14.png)

**Step 9)** Right-click on the Mapping Designer workspace and select the “Autolink” by name option.

[![Right-click menu showing the Autolink by name option in Mapping Designer]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI15.png)

**Step 10)** To link the source with the target table:

1. Select the source table columns.
2. Drag and drop the columns onto the target table.

[![Source qualifier columns being dragged onto the ports of the target table]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI16.png)

The source and the target tables will be linked, and connecting arrows will appear from the source to the target table.

[![Connecting arrows linking each source column to its matching target column]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI17.png)

**Note** – here you have linked all source columns to the respective target table columns. It means that for every source record fetched, all the columns of the target will get loaded. If you want to exclude any specific column from getting loaded, click on that column link and press the delete key on the keyboard. The link will get removed, and the target column will not get loaded.

**Step 11)** Use the shortcut “Ctrl+S” to save changes to your mapping. In the output window, you can see the message of mapping validation/parsing. It confirms that your mapping is valid. Also, there will be a temporary green tick mark next to the mapping name in the mapping folder tree, indicating the mapping is done successfully.

[![Output window confirming that the saved mapping m\_emp\_emp\_target is valid]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI18.png)

In mappings there can be a requirement where we need to pass a variable to the mapping, or there can be a scenario where we need to calculate temporary values and store them for the next session run of the mapping. For these purposes, we create mapping parameters and variables.

## Mapping Parameters and Variables

Like every programming language, Informatica has its own way of defining parameters and variables. But unlike other programming languages, Informatica is not a code-based language. To create parameters and variables in Informatica, you have to follow the predefined syntax and navigation.

Difference between parameters and variables –

| Mapping Parameters | Mapping Variables |
| --- | --- |
| Mapping parameters are those data types whose value, once assigned, remains constant throughout the mapping run. If you have created a mapping parameter deptno=20, then the value 20 will be constant for the whole mapping run. Wherever the parameter is referenced, it will always return the value 20 for that instance of the mapping run. For a new mapping instance, the parameter value can be redefined. | Mapping variables are objects which can be referenced throughout the mapping run (to access their values) and their values can be reassigned. For example, a mapping variable total\_salary can be used in a mapping, and its value can be updated based on salaries. |
| Changed between runs by editing the [parameter file](https://www.guru99.com/session-objects-informatica.html). | Saved to the repository after a successful session run and reused as the start value of the next run. |

The mapping parameters and variables are specific to a mapping only. They cannot be referenced in another mapping.

## How to Create Mapping Parameter

When you create a mapping parameter, during execution of the mapping the Integration Service looks for its assigned value. These values can be assigned in the following places.

- Inside a parameter file
- In pre-session variable assignment
- Initial value in the repository
- Default value assigned during variable creation

**Step 1)** To create a mapping parameter, in Mapping Designer:

1. Select the Mappings menu
2. Select the Parameters and Variables menu

[![Mappings menu with the Parameters and Variables option selected]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI19.png)

**Step 2)** In the next screen:

1. Click on the add new variable menu
2. From the drop-down, select the type as parameter
3. Enter the parameter name as $$Deptno
4. Enter an initial value of 10
5. Select the OK button

[![Declare Parameters and Variables window with $$Deptno added as a parameter]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI20.png)

Now you have created a mapping parameter deptno with an initially assigned value of 10, and this parameter can be referenced inside the mapping.

## How to Create Mapping Variable

**Step 1)** In Mapping Designer:

1. Select the Mappings menu
2. Select the Parameters and Variables menu

[![Mappings menu reopened to declare a mapping variable]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI21.png)

**Step 2)** On the next screen:

1. Click on the add new variable menu
2. From the drop-down, select the type as variable
3. Enter the variable name as $$TotalSalary
4. Select DataType as decimal
5. Enter an initial value of 0
6. Select the OK button

[![Declare Parameters and Variables window with $$TotalSalary added as a variable]()](https://www.guru99.com/images/informatica/083115_0637_MappingsinI22.png)

This will create a mapping variable. Variable functions such as SetVariable and SetMaxVariable change its value during the run.

**Note** – mapping parameter and variable names always begin with $$.

## FAQs

🔁 Does a variable value persist after the session ends?

Yes. The Integration Service writes the final value to the repository after a successful session run and uses it as the start value the next time that session executes.

📄 Why would you use a parameter file?

A parameter file supplies values at run time from plain text. The session points to its path, so values change without editing or redeploying the mapping.

🧩 How does a mapplet differ from a mapping?

A mapplet is a reusable group of transformations with input and output groups. It is dropped into mappings to share logic, but it cannot run on its own.

⚠️ Why does a mapping become invalid?

Typical causes are a target with no connected ports, a deleted or unconnected mandatory port, incompatible data types across a link, or a re-imported definition whose columns no longer match.

🔧 Which functions change a variable value during a run?

SetVariable, SetMaxVariable, SetMinVariable and SetCountVariable update a variable inside an expression. The aggregation type chosen at declaration decides which function is valid for that variable.

🔀 How does a mapping differ from a session and a workflow?

The mapping holds transformation logic. A session runs one mapping with real connections, and a [workflow](https://www.guru99.com/workflows-informatica.html) orders sessions and other tasks into an executable schedule.

🤖 How is AI used in ETL mapping design?

Informatica CLAIRE profiles metadata to recommend column matches, detect schema drift and suggest transformation logic. Comparable machine learning features in other ETL tools flag anomalies before validation.

🧑‍💻 Can GitHub Copilot help automate mapping work?

Copilot drafts staging DDL, parameter files and pmrep or pmcmd scripts around a mapping, and generates test data. It cannot build the mapping itself, since Mapping Designer is graphical.

#### Summarize this post with:

ChatGPTPerplexityGrokGoogle AI

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.**

##### Sign up for the newsletter

Subscribe for Free

You have successfully subscribed.  
Please check your inbox.

![AI-Newsletter]() Chosen by over **350,000+** professionals

[Scroll to top](#wrapper)

×

Search for:

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/mapping-in-informatica.png","url":"https://www.guru99.com/images/mapping-in-informatica.png","width":"700","height":"250","caption":"Mapping in Informatica","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/mappings-informatica.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/informatica","name":"Informatica"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/mappings-informatica.html","name":"Mapping in Informatica: Create, Components &#038; Parameters"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/mappings-informatica.html#webpage","url":"https://www.guru99.com/mappings-informatica.html","name":"Mapping in Informatica: Create, Components &#038; Parameters","dateModified":"2026-10-10T16:34:48+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/mapping-in-informatica.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/mappings-informatica.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/editorial","name":"Editorial Team","url":"https://www.guru99.com/author/editorial","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/favicon-new-logo.png","url":"https://www.guru99.com/images/favicon-new-logo.png","caption":"Editorial Team","inLanguage":"en-US"},"sameAs":["https://www.guru99.com/editorial-team"],"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"Informatica","headline":"Mapping in Informatica: Create, Components &#038; Parameters","description":"A mapping is a collection of source and target objects linked together by a set of transformations. These transformations consist of a set of rules, which define the data flow and how the data is load","keywords":"informatica","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/editorial","name":"Editorial Team"},"dateModified":"2026-10-10T16:34:48+05:30","image":{"@id":"https://www.guru99.com/images/mapping-in-informatica.png"},"copyrightYear":"2026","name":"Mapping in Informatica: Create, Components &#038; Parameters","subjectOf":[{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Does a variable value persist after the session ends?","acceptedAnswer":{"@type":"Answer","text":"Yes. The Integration Service writes the final value to the repository after a successful session run and uses it as the start value the next time that session executes."}},{"@type":"Question","name":"Why would you use a parameter file?","acceptedAnswer":{"@type":"Answer","text":"A parameter file supplies values at run time from plain text. The session points to its path, so values change without editing or redeploying the mapping."}},{"@type":"Question","name":"How does a mapplet differ from a mapping?","acceptedAnswer":{"@type":"Answer","text":"A mapplet is a reusable group of transformations with input and output groups. It is dropped into mappings to share logic, but it cannot run on its own."}},{"@type":"Question","name":"Why does a mapping become invalid?","acceptedAnswer":{"@type":"Answer","text":"Typical causes are a target with no connected ports, a deleted or unconnected mandatory port, incompatible data types across a link, or a re-imported definition whose columns no longer match."}},{"@type":"Question","name":"Which functions change a variable value during a run?","acceptedAnswer":{"@type":"Answer","text":"SetVariable, SetMaxVariable, SetMinVariable and SetCountVariable update a variable inside an expression. The aggregation type chosen at declaration decides which function is valid for that variable."}},{"@type":"Question","name":"How does a mapping differ from a session and a workflow?","acceptedAnswer":{"@type":"Answer","text":"The mapping holds transformation logic. A session runs one mapping with real connections, and a workflow orders sessions and other tasks into an executable schedule."}},{"@type":"Question","name":"How is AI used in ETL mapping design?","acceptedAnswer":{"@type":"Answer","text":"Informatica CLAIRE profiles metadata to recommend column matches, detect schema drift and suggest transformation logic. Comparable machine learning features in other ETL tools flag anomalies before validation."}},{"@type":"Question","name":"Can GitHub Copilot help automate mapping work?","acceptedAnswer":{"@type":"Answer","text":"Copilot drafts staging DDL, parameter files and pmrep or pmcmd scripts around a mapping, and generates test data. It cannot build the mapping itself, since Mapping Designer is graphical."}}]}],"@id":"https://www.guru99.com/mappings-informatica.html#schema-1151724","isPartOf":{"@id":"https://www.guru99.com/mappings-informatica.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/mappings-informatica.html#webpage"}}]}
```
