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
What are the different kinds of views available in a datastage director?
what is flow of project?
What is the use of datastage designer?
Define oconv () and iconv () functions in datastage?
If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?
How to read multiple files using a single datastage job if files have the same metadata?
How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...
Demonstrate experience in maintaining quality process standards?
Where do the datastage jobs get stored?
How can you write parallel routines in datastage PX?
Can you explain how could anyone drop the index before loading the data in target in datastage?
What are the important features of datastage?
Differentiate between hash file and sequential file?
Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?
Name the different sorting methods in datastage.