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

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

1282


What are the steps required to kill the job in Datastage?

1270


What are the benefits of datastage?

1302


What is difference between join, merge and lookup stage?

1152


What are the repository tables in datastage?

1353


Define meta stage?

1261


how to abort the job its matain duplicates?

2624


8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?

2263


Define Job control?

1228


What is the sortmerge collector?

1177


Could anyone give brief explanation bout datastage admin

2408


Different ways a project can be moved to production ?...example ….export-import and Version control.

2501


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

1306


Can you explain repository tables in datastage?

1459


What is the flow of loading data into fact & dimensional tables?

1114