How can we read latest records in a text file named
file1.txt using seq file stage only?

file1 having 100 records in that 5 record sare latest
records.How can we read that latest records?

Answers were Sorted based on User's Feedback



How can we read latest records in a text file named file1.txt using seq file stage only? file..

Answer / dileep j

Question is not clear... Be more specific.
As my asumption, the letest records might be the last 5 records in the Sequential file. If so...

In Sequential File stage,
In Filter option Give the Command "tail -5 File_name".

It will give last 5 records.

Correct me if I wrong ...

Is This Answer Correct ?    6 Yes 3 No

How can we read latest records in a text file named file1.txt using seq file stage only? file..

Answer / sriharsha vemuri

Use change Capture stage.

Is This Answer Correct ?    5 Yes 6 No

How can we read latest records in a text file named file1.txt using seq file stage only? file..

Answer / sai

by using seq file how we can?

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Data Stage Interview Questions

in source is like seq file in date column have dd-mm-yy dddd-mmmm-yyyy mm-dd-yy yy-dd-mm yy-mm-dd i want to display only yy-dd-mm date formats only in tgt?

2 Answers   Wipro,


What are the features of datastage flow designer?

0 Answers  


what is a message handler

3 Answers   IBM,


Hi All, Could you please let me know whether Datastage server and px supports oredb? OREDB:It's a Oracle Retail Embedded Database.Previousely It was called as Acumate data base. It's a multidimensional database. Please help me on this issue ASAP. Thanks in advance Ashok

1 Answers   Accenture,


Main Function of the Staging area in DWH ?

2 Answers  






Explain entity, attribute and relationship in datastage?

0 Answers  


How to lode data in sequntional files perform faster?

1 Answers   Polaris,


What is aggtorec restructure operator?

0 Answers  


while we using change capture stage we have to be take two table thats are 1.before table 2. after table . what is before table and after table please give me clear notation Thank You very much in advance

2 Answers   MGL,


i have seq file that contents 10 million records load to target any data base.. in that case it takes lot of time for loading..how do performance tuning in that situation...?

5 Answers   TCS,


Difference in the implementation of lookup and join stages,in joining two tables?

7 Answers   TCS,


How to delete the data in dataset?types of deleting the data in dataset?

4 Answers   HSBC,


Categories