How to load last 10 records of flat file in to the target?

Answers were Sorted based on User's Feedback



How to load last 10 records of flat file in to the target?..

Answer / amedela chandra sekhar

By using UNIX command tail command .
it display last N lines file.By default it display last 10
lines.
$tail file name

Is This Answer Correct ?    10 Yes 0 No

How to load last 10 records of flat file in to the target?..

Answer / koti

sequence generator, rank transformation.. in rank
transformation write the condition 20 ranks, bottom to top..

Is This Answer Correct ?    11 Yes 5 No

How to load last 10 records of flat file in to the target?..

Answer / kalpesh radadia

SQ---- Exp ---- Sorter----Exp --- Filter---Sorter ---
Target.
Connect the source qualifier transfromation to an
expression transformation. In the expression
transformation, create the below ports:
v_cnt (variable port) = v_cnt+1
o_cnt (output_port) = v_cnt
Connect the expression transformation to the sorter
transformation. Sort the rows on the o_cnt port in
descending order.
Now connect the sorter transformation to the expression
transformation (do not connect o_cnt port).
Again Connect to expression transformation create the ports
mentioned above
v_cnt (variable port) = v_cnt+1 o_cnt
(output_port) = v_cnt
Connect to a filter transformation and specify the filter
condition as o_cnt<=N
Connect the expression transformation to the sorter
transformation. Sort the rows on the o_cnt port in
descending order.
Connec to the target

Is This Answer Correct ?    2 Yes 0 No

How to load last 10 records of flat file in to the target?..

Answer / prasad

hi,
i am new for informatica. can u write condition in
filter t/f please.......

Is This Answer Correct ?    2 Yes 4 No

How to load last 10 records of flat file in to the target?..

Answer / prathima

by using filter t/r after sourcequalifier t/r there we
write the condition.

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More Informatica Interview Questions

What is meant by target load plan?

0 Answers  


How to identify this row for insert and this row for update in dynamic lookup cache

3 Answers   CSC,


scd methodology?

2 Answers  


Why we need XMLs?

3 Answers   IBM,


write a query for how to eliminate the duplicate rows without using distinct?

6 Answers   iGate,






Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

0 Answers   HCL,


what is the difference between copy object import objects using repositery manager which one is best

1 Answers   TCS,


how many repositories can v create in informatica .

3 Answers   Cap Gemini, Tech Mahindra,


Explain the etl program with few examples.

0 Answers  


i have flat file it contains 'n' number of records, i need to send half of the records to one target table and Remaining half to another target table: pls full details

8 Answers   L&T, TCS, UnitedHealth Group, Wipro,


What is event and what are the tasks related to it?

0 Answers  


What is a parameter When and where do you them when does the value will be created

0 Answers  


Categories