i have a scenario in which i/p columns areID,salary with
1,1000 2,2000 and 3,3000 i need an extra column in the o/p
named avg(salary)how can i get it?

Answer Posted / sai

source -> Transforemer(add column and give value 1) ->
copy -> aggregate (take sum)
->Join -> tx -> target

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of datastage director?

589


How do you run datastage job from the command line?

601


Can you explain how could anyone drop the index before loading the data in target in datastage?

895


What are stage variables?

638


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

968






How can we improve performance of data stage jobs?

616


What are the types of containers in datastage?

705


what are .ctl(control files) files ? how the dataset stage have better performance by this files?

2181


What are the main features of datastage?

662


Differentiate between Join, Merge and Lookup stage?

647


Can you explain link buffering?

726


what is stage is used for below Input columns: dept|mgr|employee|salary Output columns: mgr|count of employee per mgr|avg salary per dept note: each dept has one mgr and each mgr has many employees

663


Differentiate between datastage and informatica?

727


Which commands are used to import and export the datastage jobs?

983


What is the difference between passive stage and active stage?

824