SOURCE
CITY NAME1 NAME2 NAME3 NAME4
BGLR HCL CSC IBM TCS

TARGET
CITY COMPANY
BGLR HCL
BGLR CSC
BGLR IBM
BGLR TCS



SOURCE CITY NAME1 NAME2 NAME3 NAME4 BGLR HCL CSC IBM TCS TARGET CITY COMPANY BGLR HCL ..

Answer / chethankumar km

using Pivot stage
seq--->pivot--->dataset
in pivot output col name one same as city second one as
company in that col in derivation name1,name2,name3,name4.
compile and run will get desired output.

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More Data Stage Interview Questions

how to sort two columns in single job in datastage.

1 Answers   TCS,


What are the features of datastage flow designer?

0 Answers  


Hi guys, Please design a job for dis requirement with derivation(solution). my source table like dis. emp_no qualification 1 a 1 c 2 a 3 c 3 b To loaded to target like dis emp_no qualification 1 b 2 b 2 c 3 a my requirement is every employer have three qualifications i.e a,b and c. what qualification missed in source table that will be move to target systems. Hope u got it the requirement. Right Thanks.

0 Answers  


What is the surrogate key? what is the use of surrogate key? how to Create surrogate key Generator in scd2 in 8.5?

5 Answers   SLK Software,


in sequtial file 2 columns avaliable,iwant only one column load the target how do it.

10 Answers   Wipro,






what is snow flack schema?

2 Answers  


Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&Z v&x But I need the target column as like below column1 A and B C and D A and E X and Y and Z v and x

7 Answers  


How do you load 10 different sources with 10 different layouts to 10 different tables?

1 Answers   TIAA CREF,


Highlight the main features of datastage?

0 Answers  


what is the use of invokation id

2 Answers   IBM,


can we use sequential file as a lookup

7 Answers   Cognizant, Wipro,


which is the most complex job in your career? Please tell me answer?

2 Answers   IBM, Wipro,


Categories