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

How to convert RGB Value to Hexadecimal values in datastage?

3929


How do u convert the columns to rows in datastage?

1142


What is ibm datastage?

919


Difference between server jobs & parallel jobs?

1015


How do you remove duplicate values in datastage?

1096


What are the job parameters?

1161


how to write server Routine coding?

2062


What is aggtorec restructure operator?

1344


What is the difference between Datastage 7.5 and 7.0?

1050


State the difference between an operational datastage and a data warehouse?

1057


How to manage date conversion in Datastage?

1070


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

995


What is datastage engine?

1121


What is the difference between hashfile and sequential file?

1189


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2445