eno ename esal acct1 acct2 amount1 amount2
100 suresh 10000 sbi1 sbi2 1000 2000
this is our sourse data
i would loke to disply like this
eno ename esal acct amount
100 suresh 10000 sbi1 1000
100 suresh 10000 sbi2 2000

Answer Posted / geetha

Using @iteration=2 looping and define two stage variables and put the if else condition to provide the derivation (ex: @iteration=1 then acct1 else if @iteration=2 then acct2.)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a ds designer?

631


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

612


Describe link sort?

633


What is a datastage job?

608


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

632






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

659


what is ds administrator used for?

710


What all the types of jobs you developed?

659


What is the difference between passive stage and active stage?

807


What is the difference between orabulk and bcp stages?

562


How a source file is populated?

602


What could be a data source system?

568


What is the use of datastage director?

573


What are the some differences between 7.x and 8.x version of datastage?

725


Define ds designer?

758