Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



IN Informatica, I have 10 records in my source system. I need to load 2 records to target for each..

Answer / dev

v_filter and v_min_filter
are the variable port how these port come to filter
transformation by which u will compair it on filter
transformation plez check it i need ur help and send me at
hotadebadatta2008@gmail.com

Is This Answer Correct ?    0 Yes 0 No

IN Informatica, I have 10 records in my source system. I need to load 2 records to target for each..

Answer / 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

IN Informatica, I have 10 records in my source system. I need to load 2 records to target for each..

Answer / naveen

You are right , this can be achieved only with the help of
the mapping variable. and also a filter transformation

1) create a mapping variable and assign a default value 0
2)during the first run , i hope ur source must have an seq
num in it, if not use the seq gen and have unique sorted
record.
3)in a n expression , just have v_max_filter =
@@map_variable + 2 and v_min_filter = @@map_variable - 2

4) in the filter transformation , put the filter on the
seq_column <= v_filter and seq_column >= v_min_filter

5) enjoy a coffe, this will run

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More ETL Interview Questions

What is meant by incremental load?

0 Answers  


how would u estimate the size of Lookup transform data and index cache?

0 Answers  


what are the data modeling tools you have used?(polaris)

0 Answers  


Do we need an etl tool?

0 Answers  


what is HISTOGRAM? how to generate statistics?

1 Answers  


what is session partitioning?

0 Answers  


what are the parts of Informatica server ?

1 Answers   GE,


how do u estimate the number of partitions that a mapping really requires? Is it dependent on the machine configuration?

0 Answers  


Hi my name is kuldeep singh, i have finished my B.E in computer science and engg in 2008. I have worked with accenture for 17 months and because of family problem i left the job in dec 2009.. i was in data ware housing capability. right now i am working in a BPO as technicla support executive,, i want to move to IT again, please suggest me what shuld i do? its been 1 year gap and i am not able to get into IT...please suggest me ...should i go for informatica certification will that help me to get inot IT. please give ur suggestion..my E mail is is singh.kuldeep2004@yahoo.in

0 Answers  


In Which Transformation We Can Use Having Clause In Informatica?

0 Answers  


Define Dynamic push down optmization?

0 Answers   HP,


What is tracing level and what are the types?

0 Answers  


Categories