Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto mapping target fields from source in informatica

I hav a source structure in informatica like

col1 number   col2 varchar(40)   col3 DATE   col4 varchar(50)   col5 number

and my target definition is like

col4 varchar(50)   col1 number  col5 number  col3 varchar(40)  col3 DATE

If i want to load the source records into target i will map the columns appropriately from source to target in a zig zag way

I just want to know that if there is any concept like informatica will automap fields from source to target based on column names i.e if the target columns are shuffled but the column names are the same ...

any suggestions regarding the same would be helpful ..

like image 243
Aspirant Avatar asked Feb 20 '13 13:02

Aspirant


People also ask

How do I copy a column from source to target in Informatica?

In the Navigator, select the object you want to copy. Drag or copy the object into the target folder.

How do I link a source qualifier to target in Informatica?

A link appears between the ports in the Source Qualifier transformation and the target definition. To link ports with different names, you can drag from the port of one transformation to a port of another transformation or target. If you connect the wrong columns, select the link and press the Delete key.

What is the purpose of the field mapping in cloud mapping designer in the target transformation?

Configure field mappings in a Target transformation to define how data moves from the data flow to the target object.


1 Answers

PowerCenter can automatically link ports between transformations both by position and by name.

You should use the latter:

  1. click Layout > Autolink by Name,
  2. select the mapping object that you want to link (e.g. source) and drag the selected ports to another mapping object (e.g. target).
like image 80
Marek Grzenkowicz Avatar answered Oct 06 '22 23:10

Marek Grzenkowicz