i have thousand records in my source(flat file) i wanna load
990 records i don't want load first 5 records and last 5
records at informatica level?

Answers were Sorted based on User's Feedback



i have thousand records in my source(flat file) i wanna load 990 records i don't want load fir..

Answer / sehaj

PASS RECORDS FROM SOURCE QUALIFIER TO EXPRESSION.
CREATE A VARIABLE WITHA GGREGATION AS COUNT N ASSIGN ITS VALUE AS 0.
CREATE TWO PARAMETRES N ASSIGN DEM VALUES.
FIRST ONE 5
SECOND ONE 995
.
IN EXPRESSION CREATE AN OUTPUT PORT AS NUMBER DATATYPE N IN THE EXPRESSION EDITOR WRITE....
SEQUENCE=SETCOUNTVARIABLE(VARIABLE NAME U CREATED).

NOW
ATTACH IT TO THE ROUTER
CREATE A GROUP AND ENTER CONDITION
SEQUENCE>5 AND SEQUENCE<995
CONNECT THIS PORT TO TARGET...

SEHAJ....

Is This Answer Correct ?    10 Yes 0 No

i have thousand records in my source(flat file) i wanna load 990 records i don't want load fir..

Answer / lakshmi

source--->source qualifier--->sequencegenerator--->
exp--->router--->target.

Take nextval port and assign to exp

In router write condition below as
nextval>=5 and nextval<=995

copy all the ports from router to target

Is This Answer Correct ?    8 Yes 0 No

i have thousand records in my source(flat file) i wanna load 990 records i don't want load fir..

Answer / swathi

SOURCE->SQ->EXP->ROUTER->TARGET
After sq take seq or exp in exp using variable port concept create seq id like
v_count=count+1;
create output port assign variable port to output like
o_count=v_count
next take router and pass output port to router give condition
o_count>=5 and o_count<=985

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Informatica Interview Questions

what type of documents you receiving from client later wt can you do? what type of documents have to prepare?

2 Answers   CGI,


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

0 Answers  


How to identify bottlenecks in sources,targets,mappings,workflow,system and how to increase the performance?

4 Answers  


how many types transformations supported by sortedinput?

4 Answers  


in which situations do u go for scds ?

3 Answers   TCS,






who is the best faculty for informatica in hyderabad ameerpet?

1 Answers  


I am having a FLAT FILE SOURCE as first line: 1000,null,null,null second line as:null,2000,null,null 3rd line as :null,null,3000,null and final line as: null,null,null,4000 ............................Now i want the OUTPUT as 1000,2000,3000,4000 to a FLAT FILE only.For more clarification i want to elimate nulls and want in a single line. Please help me out

5 Answers   IBM,


write sql query following table pname description lux soap sunsilk shampoo lux shampoo sunsilk soap clouseup soap closeup paste i want the output like pname description lux soap sunsilk shampoo lux soap sunsilk shampoo closeup paste closeup paste

1 Answers   TCS,


surrogate keys usage in Oracle and Informatica?

5 Answers   ITC Infotech, Oracle,


What is a configuration management?

1 Answers  


How can we reset Sequence Generator, when we move objects from Dev Environment to QA env?

2 Answers   Rolta,


what is fact and what types of fact tables is there

4 Answers   Cap Gemini,


Categories