How we can convert rows to columns in datastage?

Answer Posted / manohar palla

I am going to use tranformer and funnel stages to implement the
pivot functionality.


name ph1 ph2---> tranformer--->tf1 name ph1
| funnel---->o/p
|____>tf2 name ph2

tf1 and tf2 are the TWO links from transfomer..

in tf1 we have the name and ph1 where in tf2 name and ph2.

In funnel stage i am going to club the two links and send it
to o/p.


Thanks :)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is active and passive stage?

1145


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

1946


DB2 connector> transformer > sequential file Data will be exported into a csv format in a sequential file. This file will be send in a email using a sequence job. Problem here is, how to avoid sending a blank csv file? When I ran the job there are chances that it might return zero records but in the sequence job csv file is going blank. how can I avoid this? thanks

1257


how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)

704


Difference between in process and inter process?

912


How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...

1272


Can you define merge?

851


what is flow of project?

1744


how to sort two columns in single job in datastage.

2709


Define ds designer?

989


What are iconv and oconv?

973


Where the datastage stored his repository?

786


How to reverse the string using SQL?

1116


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2070


Can you explain engine tier in information server?

866