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?

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

how many dimentions and fact tables used in your project and what are names of it?

3 Answers   Tech Mahindra,


what is the main differences between Lookup, Join and Merge stages?

9 Answers   HCL,


1)How will u implement SCD2 by using surrogate key. 2)What are the disadvantages with surrogate key. 3)How will you handle nulls in your project for the varchar, integer data types. 4)Can I use two fact tables in star schema. 5)3 jobs are running on the 2 nodes after I added one more node so can I compile those jobs to run on three nodes.

0 Answers  


which is the most complex job in your career? Please tell me answer?

2 Answers   IBM, Wipro,


What is the difference between Link collector and Funnel Stages?

1 Answers  


how to define satge variables in transformer stage

2 Answers  


Source flat file contains src --- 1 2 ' ' ' 18 we had 3 targets T1 T2 T3 -- -- -- 1 4 7 2 5 8 3 6 9 10 13 16 11 14 17 12 15 18 How can i get? **Using only datastage, but not unix or any other. I am expecting the answer soon.. Thanks in advance.

7 Answers  


How to implement complex jobs in data stage?

0 Answers  


Unix command to view the data in a dataset

2 Answers   IBM,


Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?

3 Answers   IBM,


A job is having only 2 stages I/p dataset and target table.Job is taking very long time to load 50 million records.How to improve performance of this job.

3 Answers   IBM,


How to Convert a string function to date function by using only sequential file stage with out using other stages ?

5 Answers   TCS,


Categories