Source Like
department_no, employee_name
----------------------------
20, R
10, A
10, D
20, P
10, B
10, C
20, Q
20, S

and Output should be like this

department_no, employee_list
--------------------------------
10, A
10, A,B
10, A,B,C
10, A,B,C,D
20, A,B,C,D,P
20, A,B,C,D,P,Q
20, A,B,C,D,P,Q,R
20, A,B,C,D,P,Q,R,S

Answer Posted / subhash

SRC---->Transformer--->TGT
we do the 'HASH' partitioning.

SetNull value to the Stage variable----->SV_List

In the transformer stage variables:
SV_List : Employee_Name ----->SV_List (Concatenating Employee
Names)

In the Column Derivation:
SV_list------->Employee_Name

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1220


Define Data Stage?

845


Highlight the main features of datastage?

825


Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?

3579


How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?

2300


What are routines in datastage?

1066


How can one find bugs in job sequence?

1027


What is the difference between operational data stage (ods) and data warehouse?

955


What are the various kinds of the hash file?

885


Why do you need stage variables?

915


How will you move hashed file from one location to another location?

1890


How can you write parallel routines in datastage PX?

808


In Datastage, how you can fix the truncated data error?

850


How to Remove Duplicate using SQL?

1060


How many types of hash files are there?

845