Converting Vertical PIVOTing without using PIVOT stage in DataStage.
Ex:
DEPT_NO EMPNAME
10 Subhash
10 Suresh
10 sravs
Output:
DEPT_NO EMP1 EMP2 EMP3
10 subhash suresh sravs
2) How to implement Horizontal PIVOTing without using PIVOT stage.

Answer Posted / reddymkl.dwh

Use Transformer Stage:
Take stage variable,
sv1 = sv1 : ' ' : DSLink.EMPNAME
Derivation : Trim(sv1, ' ','L')
U will get output.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different kinds of views available in a datastage director?

599


What is the difference between passive stage and active stage?

821


Hi everyone,I have kept a project Sales And Distribution for a pharmaceutical company.can anybody explain one complex business rule that we had in our project and how did you accomplish it using DS?

1757


what is the difference between == and eq in UNIX shell scripting?

972


What could be a data source system?

574






What is difference between symmetric multiprocessing and massive parallel processing?

649


Why fact table is in normal form?

672


Differentiate between operational datastage (ods) and data warehouse?

672


What is the use of hoursfromtime() function in transformer stage in datastage?

581


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

3376


Describe stream connector?

832


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

669


In Informatica,for the table I can find coreesponding dependent mappings.Likewise can I find the dependent jobs with all the information by using the table name

2007


What is a datastage job?

616


What is the process of killing a job in datastage?

588