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

I have a source like file it have Number of records and i want to load without first and last records in target?Datastage?

Answer Posted / shivam

For this we can use Head and tail stages from development
and debug stages. Suppose we have 10 records,And we are
asked to pick 2nd to 9th record in the output, then go for
the following:
Sequential file--->Head stage--->Tail stage---->Data set

In the Head stage properties mention the number of records
you want to extract 9 records, this way you will get 1st to
9th records(top 9) extracted. Now, in Tail stage properties
mention number of records to extract 8, this way you get
last 8 records out of top 9 i.e 2nd to 9th. Finally as an
output you will find records 1st and 10th dropped.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are orabulk and bcp stages?

1067


How can we improve the performance in datastage?

1059


Difference between sequential file and data set?

1133


What are the features of datastage flow designer?

990


how to delete one row in target dataset

3061


client know skid info?

2034


What could be a data source system?

939


Demonstrate experience in maintaining quality process standards?

2455


Can you explain link buffering?

1107


What is the difference between in process and inter process?

1089


What are the components of datastage?

1062


What is the command line function to import and export the ds jobs?

1095


if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?

2168


What is difference between symmetric multiprocessing and massive parallel processing?

1080


If you want to use a same piece of code in different jobs, how will you achieve this?

1224