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
-Which expression we can not use in Maplets?, -Can we join(relate) two dimensions in a schema? -Why and where we use 'sorted input' option?
How do you promote a non-reusable transformation to reusable transformation?
How to join three sources using joiner?
What is the benefit of partitioning a session?
What is the difference between a repository server and a powerhouse?
What is a node in Informatica?
Can u generate reports in Informatica?
If informatica has its scheduler why using third party scheduler?
How to do unit testing in informatica? How to load data in informatica ?
What is workflow? What are the components of workflow manager?
Explain sql transformation in script mode examples in informatica
Explain the different lookup methods used in informatica?
3.how will u get information about bugs how will u rectify the bugs in realtime whch tool we are using to rectify the bugs
To import the flat file definition into the designer where should the flat file be placed?
How to create a non-reusable instance of reusable transformations?