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

How to manage date conversion in Datastage?

822


What are the partitioning techniques available in link partitioner?

2011


What is active and passive stage?

1134


What is a datastage job?

779


What a datastage macro?

829


How rejected rows are managed in datastage?

1169


What are the types of hashed files in data stage

849


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?

1972


Hi , Can anyone give few examples of scenarios and there corresponding design in datastage..i am new to this tool...confused in design while my manager asking to design the job.. Please post the URL if there..so i can go through it.. Thanks in advance...

3941


Give an idea of system variables.

767


Explain Quality stage?

886


Can you explain kafka connector?

1008


What is the purpose of pivot stage?

830


Name the third party tools that can be used in datastage?

825


Terminate Activity

1035