Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 are the different kinds of views available in a datastage director?

971


what is flow of project?

1931


What is the use of datastage designer?

1086


Define oconv () and iconv () functions in datastage?

1340


If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

2002


How to read multiple files using a single datastage job if files have the same metadata?

1175


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...

1443


Demonstrate experience in maintaining quality process standards?

2455


Where do the datastage jobs get stored?

1149


How can you write parallel routines in datastage PX?

973


Can you explain how could anyone drop the index before loading the data in target in datastage?

1439


What are the important features of datastage?

1047


Differentiate between hash file and sequential file?

998


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

2175


Name the different sorting methods in datastage.

989