how to retrive the max(sal),deptno,empno in datastage?
Answer Posted / subbuchamala
SRC--> COPY stage--> 2 o/p links from COPY Stage-->
one is --> AGGREGATOR and other is --> JOIN-->TGT
-->In AGG Stage:
set group=DEPNO
aggregator type=calculation
column for calculation=SAL
max value output column=SAL
-->O/P of AGG Stage:
SAL(max(sal), DEPNO
-->In JOIN stage:
Inner Join on DEPNO and SAL and get the EMPNO as well.
By doing this, we get Max(sal) of the employee on particular DEPNO.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Describe stream connector?
What are system variables and sequencers in datastage
How do you import and export the datastage jobs?
How many types of stage?
Explain the datastage parallel extender (px) or enterprise edition (ee)?
Name the third party tools that can be used in datastage?
What are data elements?
What is the command line function to import and export the ds jobs?
What is a quality stage in datastage tool?
Define meta stage?
why do u need the IOS upgradation in a FC switch
Define APT_CONFIG in Datastage?
Nls stands for what in datastage?
im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination
What is the difference between an operational datastage and a data warehouse?