Hi All,

I have three question.

1) How to remove the header and footer in a flat file in
informatica?

2)How to load the first and last record of flat file into
the target?

3)I have a Input and Output table.

Input
Name Salaray Month
A 100 Jan
A 200 Feb
A 300 March
B 400 April
B 500 May
B 600 June


Output
Name Salaray Month
A 100 Jan
A 300 Feb
A 600 March
B 400 April
B 900 May
B 1500 June


How to implement and get the ouput as mentioned above.
If Possible kindly provide the SQL query also.

Kindly any one help to implement this concept.

Thanks,
Pradeep

Answer Posted / babu

Hi Pradeep,

These are columns in
Exp Trans:

name (input & output)
salary (input)
month (input & output)
V_Sal: if(old_name=name,v_Sal+sal,sal) (Variabkle port)
Olad_name=name (Variable port)
o_sal=V_Sal (output port)

connect only name,o_sal,month columns to the target
it gives you what u r expecting. get the

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rank transform?

611


design of staging area?

1609


How does a rank transform differ from aggregator transform functions max and min?

680


Explain the informatica workflow?

599


What is enterprise data warehousing?

621






Define mapplet?

634


What is a dimensional model?

589


Explain Dataware house architecture .how data flow from intial to end?

2135


How can informatica be used for an organization?

667


How many types of sessions are there in informatica.please explain them?

685


Implementation methodology

1273


What is an aggregator transformation?

624


What is a repository? And how to add it in an informatica client?

679


Design a mapping to load the cumulative sum of salaries of employees into target table?

913


How to extract sap data using informatica? What is abap? What are idocs?

575