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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of pivot stage?

608


what are the devoleper roles in real time? plz tell i am new to datastage....

1644


What are the steps required to kill the job in Datastage?

686


How can one find bugs in job sequence?

786


Why fact table is in normal form?

678






Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

625


How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.

2993


On which interface you will be working as a developer?

639


what are the errors,warnings in datastage

2155


What is the method of removing duplicates, without the remove duplicate stage?

588


Name the third party tools that can be used in datastage?

618


How to RD using transformer?

864


How many types of sorting methods are available in datastage?

633


What are the different layers in the information server architecture?

643


What is oci?

855