i have source file data empno,ename,sal 100,ram,1000
200,tyu,2000 300,gh,3000 out put as e
empno,ename,sal 100,ram,null 200,tyu,1000 300,gh,2000 how to load it?
Answers were Sorted based on User's Feedback
Answer / sameer
1) Connect the source Qualifier to expression transformation.
2) In the expression transformation create a variable port V_count and increment it by one.
3) Create V_sal variable port and assign the expression IIF(V_count=1,NULL,V_prev_sal) to it.
4) Create one more variable port V_prev_sal and assign Sal to it.
5) Now create output port O_prev_sal and assign V_sal to it.
6) Connect the expression transformation to the target ports.
In the expression transformation, the ports will be
empno, ename, sal
V_count=V_count+1
V_sal=IIF(V_count=1,NULL,V_prev_sal)
V_prev_sal = sal
O_prev_sal = V_sal
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / rsbandaru
Ok..Integration service by default assigns value 'o' to the
variable port..
| Is This Answer Correct ? | 0 Yes | 0 No |
Calculate sum of salaries department wise. Then the sum will be repeat for all columns in each department. Develop a mapping for this.
i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THIS FORMATE Means un limited special charecter between and sides of the string data..output should be(GANESH) HOW YOU HANDEL THIS TYPE OF RECORDS,,COZ U DON"T KNOW WHERE AND WHAT ARE THE SPECIAL CHARACTERS IN BETWWEN THE NAME...
What is Performance tuning in Informatica?
i have 2 session s1 execute s2 load first session fail what is the reason?
What do think which one is the better joiner or look up?
how to connect two or more table with single source qualifier?
How is Source Side push down optimization different to just providing a SQL override in Source qualifier transformation.
what is persistent lookup cahce?how to use and when to use this persistent lookup cahce?explain?
When the informatica server marks that a batch is failed?
Update strategy transformation is an active transformation.How it changes the number of records that pass through it? Please explain....
How to identify bottlenecks in sources,targets,mappings,workflow,system and how to increase the performance?
What are the parts of Informatica Server?