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 scenario like
Deptno=10---->First record and last record
Deptno=20---->First record and last record
Deptno=30---->First record and last record
I want those first and last records from each department in
a single target. How to do this in DataStage, any one can
assist me.
Thanks in advance.

Answer Posted / c raghavendra nivas

      
             -------removeduplicate(first)
source---copy                    ------funnel----output
             -------removeduplicate(last)

it works i did it
try if u want

if its a database you can do witha co-related sub query

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between validated and Compiled in the Datastage?

1283


What is the difference between Datastage 7.5 and 7.0?

1097


Name the different types of Lookups in Datastage?

1263


Demonstrate experience in maintaining quality process standards?

2554


client know skid info?

2084


What is the difference between the local container and shared container?

1104


Differentiate between datastage and informatica?

1183


How do you generate sequence number in datastage?

1094


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

1276


What are transforms and what is the differenece between routines and transforms?

1066


What is the use of hoursfromtime() function in transformer stage in datastage?

1070


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

1252


What is a ds designer?

1070


Explain the datastage parallel extender (px) or enterprise edition (ee)?

1230


How to find value from a column in a dataset?

2203