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 to exclude first and last lines while reading data into a sequential file(having some 1000 records).I guess probably by using unix filter option but not sure which to use

Answer Posted / shiv

Sreenu is also right, but we have another option as well.
Use head and tail stages in datastage like this:

Seq_File-->Tail_stage--->Head_Stage---->Dataset(Target)

in this way first u can exclude the first record using tail specify 999 record in tail stage, then u can exlclude last record by using head stage.(998 top records).

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where do the datastage jobs get stored?

1212


What are the various kinds of containers available in datastage?

1046


tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise

3122


Describe link sort?

1011


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

3460


whom do you report?

1925


What is difference between server jobs & parallel jobs?

1036


What is process model?

1972


There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this

2240


What are the types of containers in datastage?

1189


What are the functionalities of link collector?

1085


how to write server Routine coding?

2116


What are the different type of jobs in datastage?

1042


How we can covert server job to a parallel job?

1139


Where do you see different stages in the designer?

1088