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
How many types of hash files are there?
Name the different sorting methods in datastage.
Is it possible to query a hash file?
How to Remove Duplicate using SQL?
Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.
what is use of SDR function?
What are the different type of jobs in datastage?
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
How to manage date conversion in Datastage?
What are the types of containers and how to create them?
What are the repository tables in datastage?
What is the command line function to import and export the ds jobs?
What is meta stage?
Define ds designer?
how to write server Routine coding?