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

hi all, can anyone tell where i will get good informatica training in Pune? thanks in advance.

5 Answers   TCS,


Can you copy the session to a different folder or repository?

1 Answers  


1:when we develop a project what are the performance issue will raise?? KPIT 2:if a table have INDEX and CONSTRAINT why it raise the performance issue bcoz when we drop the index and disable the constraint it performed better??KPIT 3:what are unix commands frequently used in informatica??

1 Answers   KPIT,


i have to extract data from a flat file.the flat file has 10 records.i have to extract the 1st and 5th record every time.how is it done.

10 Answers   Emirates, IBM,


Target increases every day even though no new record was inserted

0 Answers   Accenture,






What is Target Update Override? What is the Use ?

8 Answers   Patni,


Tell me about informatica architecture.

2 Answers   TCS,


CAN WE IMPLEMENT SCD TYPE 1 AND SCD TYPE 2 IN SAME MAPPING? IF SO HOW?

6 Answers  


How many ways are there to create ports?

0 Answers   Informatica,


What is confirmed dimension?

3 Answers  


hi all hi have flat file like below my requirement is empid,ename,sal,loc 101,vamshi,5000,hyd 101,vamshi,5020,hyd 201,raju,5000,hyd 202,ram,4000,hyd 203,kumar,3500,pune 203,kumar,3500,pune 203,kumar,5000,hyd 203,kumar,6000,hyd i want the o/p like this in one target 201,raju,5000,hyd 202,ram,4000,hyd and in second target 101,vamshi,5000,hyd 101,vamshi,5020,hyd 203,kumar,3500,pune 203,kumar,3500,pune 203,kumar,5000,hyd 203,kumar,6000,hyd

9 Answers   IBM,


what is the difference between informatica6.1 and infomatica7.1

0 Answers   TCS,


Categories