How we can convert rows to columns in datastage?

Answer Posted / rams

Using pivot stage


ex:-


name,ph1,ph2
ramu,9849,9948
raja,9987,9967
touch,9898,0909


in pivoi stage go to output>- columns


columnname derivation

name
phone PH1,PH2

TO GOT THE RESULT IS


o/p:-

name phone
ramu,9849
ramu 9948
raja,9987
raja,9967
touch,9898
touch,0909

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use surrogate key?

697


What is the purpose of interprocessor stage in server jobs?

1724


Differentiate between data file and descriptor file?

615


What is the purpose of pivot stage and types of containers in datastage

609


What are datastage sequences?

667






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

1695


How do you import and export data into datastage?

698


What are the job parameters?

703


Difference between in process and inter process?

695


Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.

1615


In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?

1040


What are the types of jobs we have in datastage?

663


Enlist various types of routines in datastage.

642


Differentiate between datastage and datastage tx?

591


Nls stands for what in datastage?

726