IN Informatica, I have 10 records in my source system. I need
to load 2 records to target for each run. how to
perform.please let me know. I know by using Mapping variable
we can perform but how to load please any one explain.

Answer Posted / ankit kansal

Overall Desc
SRC-->>SQ-->>EXPR-->>FILTER-->>TARG

create a mapping variable name $$max_bound of integer data type and aggregation type max

now in expression variable
seq v seq+1
o_seq o seq
v_temp v v_temp+1
curr_val v IIF(v_temp=1,setmaxvariable($$max_bound,$$max_bound+2),0)
o_map_val o setvariable($$max_bound,NULL)


now come to filter transformation
and write condition as
(seq<=$$max_bound)AND(seq>$$max_bound-2)

Thanks
http://deepinopensource.blogspot.in/

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is etl tool in hadoop?

500


In Which Transformation We Can Use Having Clause In Informatica?

827


how many steps are there in etl process?

540


What is the difference between Data Warehousing and Data Mining?

549


Explain about round-robi?

625






Explain about enterprise scalability and roi of data integration suite?

496


what is pmrep command?

1958


what are Lookup caches options? Including persistent caches.

1446


what is the difference between cardinality and Nullability?

2510


what is the difference between cardinality and Nullability?

2832


What is abap? What are idocs?

516


how does the server recongnise the source and target databases.Elaborate on this

2099


Knowledge on what are the improtant characteristice that we need ot consider while developing an ETL Code

1556


HI, Anybody is having informatica Dumps,if it there Can u send to my mail id :sathesh.cool@gmail.com

1657


what is Forward,Reverse and Re_engineering?

1771