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 / d anil babu
take source--->copy---->remove dupli stage---->
----->remove dupli stgae-->funnel-->dataset
in first remove duplicate stage select duplicate retain first
in second rmd select duplicate retain last and in funnel u
have to select the sort funnel
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a merge?
Can you explain kafka connector?
what are .ctl(control files) files ? how the dataset stage have better performance by this files?
Define project in datastage?
Describe link sort?
What is staging variable?
what is the use of surogate key in datastage
Lookup constraints
What is the difference between datastage and informatica?
How to find value from a column in a dataset?
What is orabulk stage?
How you Implemented SCD Type 1 & Type 2 in your project?
Define Routines and their types?
Where do the datastage jobs get stored?
describe the Steps to confiure a Qlogic switch