source has 2 fields like
COMPANY LOCATION
IBM HYD
TCS BAN
IBM CHE
HCL HYD
TCS CHE
IBM BAN
HCL BAN
HCL CHE
LIKE THIS.......
AND I WILL GET THE OUTPUT LIKE THIS....
Company loc count
TCS HYD 3
BAN
CHE
IBM HYD 3
BAN
CHE
HCL HYD 3
BAN
CHE
PLZ SEND ME ANSWER FOR THIS QUESTION..........
Answer Posted / sreepathi
Hi
Use stage variables in Transformer stage i.e IF THEN ELSE
IF ..condition comparing companies and use COUNT() function
in transformer for which field u want count
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the difference between an operational datastage and a data warehouse?
What is ibm datastage flow designer?
What are the types of containers?
How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.
Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?
explain about citrix scheduling tool in datastage
How do you schedule or monitoring the job?
What are the types of hashed files in data stage
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
What are data elements?
client know skid info?
What is a merge?
If you want to use the same piece of code in different jobs, how will you achieve it?
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?
What is the difference between odbc and drs stage?